[go: up one dir, main page]

CN105847897A - Method and device of providing and processing video downloading - Google Patents

Method and device of providing and processing video downloading Download PDF

Info

Publication number
CN105847897A
CN105847897A CN201610201652.0A CN201610201652A CN105847897A CN 105847897 A CN105847897 A CN 105847897A CN 201610201652 A CN201610201652 A CN 201610201652A CN 105847897 A CN105847897 A CN 105847897A
Authority
CN
China
Prior art keywords
timestamp
video
fragment
describes information
vpts
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
CN201610201652.0A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610201652.0A priority Critical patent/CN105847897A/en
Publication of CN105847897A publication Critical patent/CN105847897A/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/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/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/84Generation or processing of descriptive data, e.g. content descriptors
    • 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
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a method and device of providing and processing video downloading. The method comprises: providing a playing list for a terminal, the playing list including time stamp description information and audio and video fragment network addresses; after receiving the playing list provided by a network side to the terminal, determining the time stamp description information and audio and video fragments to be downloaded, and sending a downloading request carrying network addresses to the network side according to the network addresses in the playing list, providing the time stamp description information and audio and video fragments to the terminal on the network side; and performing time stamp synchronous work according to downloaded audio and video fragments and corresponding time stamp description information. The method and device can reduce redundancy bytes in an HLS protocol in transmitting MPEG2-TS fragments, thereby saving bandwidths.

Description

A kind of method and apparatus providing and processing video to download
Technical field
The present embodiments relate to video technique field, a kind of offer is be provided and processes what video was downloaded Method and apparatus.
Background technology
Video on demand/live broadcast system mainly by film source storehouse system, stream media service system, shadow cabinet system, Transmission and exchange network, subscriber terminal equipment Set Top Box, and television set or personal computer form.
When video on demand/live broadcast, when user sends and watches request, stream media service system will According to solicited message, will be stored in being retrieved in film source storehouse or just at live programme information, to regard Frequency and audio stream file, be sent to user terminal by high-speed transfer network.
During program request/live, widely used HTTP Live Streaming, Apple company Dynamic code rate adaptive technique increasingly favored by Internet video supplier.
But the deficiency of existing HTTP Live Streaming technology is: the data of transmission include reality Body is a play list file and some MPEG2-TS (MPEG:Moving Picture Experts Group, dynamic image expert group;TS:Transport Stream, transmission stream).Video file sheet Section,.But the information comprising many redundancies in MPEG2-TS form is not necessarily all necessary, it is clear that These information will take the network bandwidth, causes waste.
Summary of the invention
Embodiments provide a kind of method and apparatus providing and processing video to download, in order to solve The problem that in prior art, during transmitting video files, occupied bandwidth is bigger.
The embodiment of the present invention provides a kind of method providing video, including:
Provide the terminal with playlist, described playlist carries download VPTS timestamp and describes letter Breath, APTS timestamp describe information, and video data encoder fragment, the net of coded audio data fragment Network address, wherein, a VPTS timestamp describes information and matches with a video data encoder fragment, One APTS timestamp describes information and matches with a coded audio data fragment, an audio frequency and video joint Mesh is by some video data encoder fragments, coded audio data fragment, and several APTS timestamps are retouched State information and VPTS timestamp describes information composition;
The download request carrying the network address sent according to terminal provides the terminal with VPTS timestamp and describes Information, APTS timestamp describe information, video data encoder fragment and coded audio data fragment.
The embodiment of the present invention provides a kind of and processes the method that video is downloaded, including:
Receive the playlist that network side provides the terminal with, described playlist carries download VPTS Timestamp describes information, APTS timestamp describes information, and video data encoder fragment, audio coding The network address of data slot, wherein, a VPTS timestamp describes information and a Video coding number Matching according to fragment, an APTS timestamp describes information and matches with a coded audio data fragment, One audio/video program by some video data encoder fragments, coded audio data fragment, and several APTS timestamp describes information and VPTS timestamp describes information composition;
Determine that the required VPTS timestamp downloaded describes information, APTS timestamp describes information, video is compiled Code data slot and coded audio data fragment;
Carry the download request of the network address to network side transmission according to the network address carried in playlist After, the VPTS timestamp that downloading network side provides describes information, APTS timestamp describes information, video Coded data fragment and coded audio data fragment;
To the video data encoder fragment downloaded, coded audio data fragment, and corresponding VPTS Timestamp describes information, APTS timestamp describes information and carries out the synchronous working of timestamp.
The embodiment of the present invention provides a kind of equipment providing video, including:
Address provides module, is used for providing the terminal with playlist, carries download in described playlist VPTS timestamp describes information, APTS timestamp describes information, and video data encoder fragment, sound Frequently the network address of coded data fragment, wherein, a VPTS timestamp describes information and a video Coded data fragment matches, and an APTS timestamp describes information and a coded audio data fragment Match, an audio/video program by some video data encoder fragments, coded audio data fragment, and Several APTS timestamps describe information and VPTS timestamp describes information composition;
Download and module is provided, carry to terminal for the download request carrying the network address sent according to terminal For VPTS timestamp describes information, APTS timestamp describes information, video data encoder fragment and sound Frequently coded data fragment.
The embodiment of the present invention provides a kind of and processes the equipment that video is downloaded, including:
Receiver module, for receiving the playlist that network side provides the terminal with, takes in described playlist With downloading, VPTS timestamp describes information, APTS timestamp describes information, and video data encoder Fragment, the network address of coded audio data fragment, wherein, VPTS timestamp describe information with One video data encoder fragment matches, and an APTS timestamp describes information and an audio coding Data slot matches, and an audio/video program is by some video data encoder fragments, coded audio data Fragment, and several APTS timestamps describe information and VPTS timestamp describes information composition;
Determine module, for determining that the VPTS timestamp of required download describes information, APTS timestamp is retouched State information, video data encoder fragment and coded audio data fragment;
Request module, for carrying network according to the network address carried in playlist to network side transmission After the download request of address, the VPTS timestamp that downloading network side provides describes information, APTS timestamp Description information, video data encoder fragment and coded audio data fragment;
Download module, is used for the video data encoder fragment downloaded, coded audio data fragment, and with The VPTS timestamp of correspondence information is described, APTS timestamp describes information and carries out the synchronization work of timestamp Make.
In a kind of method and apparatus providing and processing video to download that the embodiment of the present invention provides, due to Provide video scheme in, it is provided that play list file with carry download VPTS timestamp retouch State information, APTS timestamp describes information, and video data encoder fragment, coded audio data fragment The network address, wherein, a VPTS timestamp describes information and a video data encoder fragment phase Coupling, an APTS timestamp describes information and matches with a coded audio data fragment, a sound Video frequency program is by some video data encoder fragments, coded audio data fragment, and during several APTS Between stab description information and VPTS timestamp and describe information composition.That is, owing to video file is being split After video segment, before transmission, respectively by coded audio data fragment/video data encoder fragment/Audio PTS timestamp describes information/Video PTS timestamp and describes the network address write playlist of information, And be transmitted respectively when downloading, thus just can download to the broadcasting number that decoder needs according to address According to and information, and any redundancy bytes data need not be transmitted, therefore, it is possible to while completing playing task, Save taking of bandwidth.
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 provides the method implementing procedure schematic diagram of video for inventive network side;
Fig. 2 is the method implementing procedure schematic diagram that end side of the present invention processes that video is downloaded;
Fig. 3 provides the device structure schematic diagram of video for the present invention;
Fig. 4 is the device structure schematic diagram that the present invention processes that video is downloaded.
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.
Inventor note that during invention
Existing, in widely used HLS streaming media transmission technique, the video file physical format of transmission Big MPEG2-TS form, (TS is the letter of MPEG2-TS with the TS that connects one by one for this kind of form Claim), the header data partial bytes of each TS bag is the unwanted redundant data of decoder.Each TS Bag exists again PES (Packetized Elementary Streams, the primary flow of packet) bag, each In header data in PES bag, except PTS (PlayTime Stamp, Presentation Time Stamp) timestamp is retouched Stating information, remaining is the unwanted redundant information data of decoder, such as TS header data, PES Header data etc., these data, for decoder, are unconcerned.When decoder is only concerned PTS Between stab description information.So, the most only need to add transmission PTS timestamp and describe information and just can reach Save the purpose of the network bandwidth.
Based on this, the embodiment of the present invention provides a kind of scheme providing and processing video to download, in order to During transmission audio/video coding file, individually transmit APTS (Audio PTS, audio frequency PTS) Timestamp describes information, VPTS (Video PTS, video PTS) timestamp describes information, reduces The transmission of redundancy.Further, play out owing to scheme have employed playlist, also just have The code check self adaptation advantage that the HLS protocol that standby same use playlist plays out is possessed.
In declarative procedure, enforcement from terminal with network side respectively is illustrated, wherein network side Audio coding decoding fragment, video data encoder fragment and timestamp is provided to describe the net of information explanation The process of network address, end side will explanation coded audio data fragment, video data encoder fragment and Timestamp describes the downloading process of information, the most also coordinates the example implemented with preferably by providing the two Understand the enforcement of the scheme provided in the embodiment of the present invention.Such explanation mode is not meant to the two Enforcement must be coordinated or must individually implement, it practice, when terminal is performed separately with network side, It the most each solves the problem of end side, network side, and when the two is used in combination, can obtain preferably Technique effect.
Fig. 1 provides the method implementing procedure schematic diagram of video for network side, as it can be seen, may include that
Step 101, provide the terminal with playlist, described playlist carries download VPTS Timestamp describes information, APTS timestamp describes information, and video data encoder fragment, audio frequency The network address of coded data fragment, wherein, a VPTS timestamp describes information and a video Coded data fragment matches, and an APTS timestamp describes information and a coded audio data sheet Section match, an audio/video program by some video data encoder fragments, coded audio data fragment, And several APTS timestamps describe information and VPTS timestamp describes information composition;
Step 102, according to terminal send carry the network address download request provide the terminal with VPTS Timestamp describes information, APTS timestamp describes information, video data encoder fragment and audio frequency are compiled Code data slot.
Fig. 2 is the method implementing procedure schematic diagram that end side processes that video is downloaded, as it can be seen, permissible Including:
The playlist that step 201, reception network side provide the terminal with, carries in described playlist VPTS timestamp describes information, APTS timestamp describes information download, and Video coding number According to fragment, the network address of coded audio data fragment, wherein, a VPTS timestamp describes letter Breath matches with a video data encoder fragment, and an APTS timestamp describes information and a sound Frequently coded data fragment matches, and an audio/video program is by some video data encoder fragments, audio frequency Coded data fragment, and several APTS timestamps describe information and VPTS timestamp describes information Composition;
Step 202, determine that the VPTS timestamp of required download describes information, APTS timestamp is retouched State information, video data encoder fragment and coded audio data fragment;
Step 203, according to the network address carried in playlist to network side send carry the network address Download request after, download network side provide VPTS timestamp describe information, APTS timestamp describe Information, video data encoder fragment and coded audio data fragment;
Step 204, the video data encoder fragment to downloading, coded audio data fragment, and the most right The VPTS timestamp answered describes information, APTS timestamp describes information and carries out the synchronous working of timestamp.
In enforcement, the broadcasting of transmission when played column tableau format can be HLS protocol playing audio/video programs Row tableau format.
In being embodied as, playlist can be by HLS (HTTP Live Streaming, Apple Dynamic code rate adaptive technique) agreement playing video file time transmission playlist.
Illustrate with the enforcement under HLS protocol in detail below, as a example by HLS protocol, be because HLS Being the agreement for real-time streaming transport defined by Apple company, HLS realizes based on http protocol, Transferring content includes two parts, and one is that M3U8 describes file, and two is TS media file.On the one hand Such structure comparison easily realizes the technical scheme provided in the embodiment of the present invention, on the other hand be because of It is the most the more commonly used, the most representative technology for HLS protocol, so here with HLS As a example by agreement;But, the technical scheme that the embodiment of the present invention provides is, is to be divided by video file After being segmented into video segment, before transmission, respectively by coded audio data fragment, video data encoder sheet Section, Audio PTS timestamp information is described, Video PTS timestamp describe information url network ground Location write playlist, and be transmitted respectively.In theory, by other agreement or Other means or the corresponding technical scheme of special configuration realize also possible, therefore, with It is only used for as a example by HLS protocol instructing the most how those skilled in the art implement the present invention, but it is not intended that It is only capable of using HLS protocol to realize, implementation process can determine in conjunction with putting into practice needs accordingly Technological means.
The most first HLS is briefly described.
HLS, Http Live Streaming is the association for real-time streaming transport defined by Apple company View, HLS realizes based on http protocol, and transferring content includes two parts, and one is playlist M3U8 Describing file, two is TS media file.
Below this programme is illustrated:
1, play list file:
By text mode, media file is described, is made up of a series of labels.Specifically to H.264 The ID of sample and AAC sample, duration, url download address information, the APTS/VPTS time Stamp information is described.
#EXTM3U
#EXT-X-TARGETDURATION:5
#EXTINF:5,
http://xxxx/0.h264
http://xxxx/0.aac
http://xxxx/0.vpts
http://xxxx/0.apts
#EXTINF:5,
http://xxxx/1.h264
http://xxxx/1.aac
http://xxxx/1.vpts
http://xxxx/0.apts
#EXTM3U: each M3U8 file the first row must be this tag.
#EXT-X-TARGETDURATION: specify maximum media segment time span (second), The time span specified in #EXTINF is necessarily less than or equal to this maximum.This value can only occur one Secondary.
#EXTINF: describe the duration of audio/video coding file.It is audio/video coding media file below The url network address, such as http://xxxx/1.h264 and http://xxxx/1.aac.Followed by for The url network address of VPTS/APTS timestamp descriptor file, such as: http://xxxx/1.vpts And http://xxxx/0.apts
2, audio/video coding data file
Audio/video coding data file is divided into video H.264 data file and AAC (Advanced Audio Coding, Advanced Audio Coding) data file, both send into decoder and can carry out individually Decoding, but need APTS/VPTS timestamp to describe the work that information carries out synchronizing.
Audio/video coding data file is same as the MPEG2-TS file in HLS simultaneously, enters It is supplied to terminal after row section, identifies the duration of section with #EXTINF.
3, APTS/VPTS timestamp descriptor file.
Pts timestamp value included in timestamp descriptor file, can be with 16 binary data sides Formula arranges, if having 4 frames in the H.264 coded data clip file of correspondence, then VPTS file Form can as follows (pts value should be according to actual pts value, following simply citing):
0x00000001 0x00000002 0x00000003 0x00000004
In like manner, if AAC coded data clip file has 2 frames, then the form of APTS can With following (pts value should be according to actual pts value, following simply citing):
0x00000001 0x00000002
In enforcement, can further include in terminal:
H.264 the MPEG-TS file format used during HLS protocol playing audio/video programs is changed into The file of sample and AAC sample form.
In being embodied as, playlist is by the played column form of transmission during HLS protocol playing video file Formula, is simultaneously introduced APTS/VPTS timestamp and describes information, and during by HLS protocol playing video file The MPEG-TS used changes H.264 sample and AAC sample into.
Accordingly, can further include at network side:
To change by the network address of the MPEG-TS file used during HLS protocol playing audio/video programs The network address for H.264 sample and AAC sample file.
In being embodied as, playlist is by the playlist of transmission during HLS protocol playing video file, Introduce APTS/VPTS timestamp and describe the network address of information, and by HLS protocol playing video file Time the network address of MPEG-TS that uses change the url network of H.264 sample and AAC sample into Address.
Concrete, the video data encoder clip file downloaded to is resolved, then takes each H.264 the PTS timestamp of sample (frame data in Video coding clip file) describes information, Being resolved by the H.264 Video coding file downloaded to, at extraction, each is H.264 the most simultaneously The coded data of sample.PTS timestamp is described information and coded data is given at decoder Reason.The coded audio data clip file downloaded to is resolved simultaneously, then take each AAC The PTS timestamp of sample (frame data in audio coding clip file) describes information, then same Time the AAC Video coding file downloaded to is resolved, extract the volume of each AAC sample Code data.PTS timestamp is described information and coded data is given decoder and processed.By compiling I.e. can play except the audio/video program needed after code device.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of provide the equipment of video, one Plant and process the equipment that video is downloaded, owing to these equipment solves the principle of problem and a kind of side providing video Method, a kind of process video download method similar, therefore the enforcement of these equipment may refer to the reality of method Execute, repeat no more in place of repetition.
Fig. 3 is for providing the device structure schematic diagram of video, as it can be seen, may include that
Address provides module 301, is used for providing the terminal with playlist, carries in described playlist VPTS timestamp describes information, APTS timestamp describes information in download, and video data encoder fragment, The network address of coded audio data fragment, wherein, a VPTS timestamp describes information and regards with one Frequently coded data fragment matches, and an APTS timestamp describes information and a coded audio data sheet Section match, an audio/video program by some video data encoder fragments, coded audio data fragment, And several APTS timestamps describe information and VPTS timestamp describes information composition;
Download and module 302 is provided, ask to end for the download carrying the network address sent according to terminal End provide VPTS timestamp describes information, APTS timestamp describes information, video data encoder fragment with And coded audio data fragment.
In enforcement, address provides module can also be further used for providing the terminal with HLS protocol broadcasting sound and regards Frequently the tabular described playlist of played column of transmission during program.
In enforcement, when download provides module can also be further used for HLS protocol playing audio/video programs The MPEG-TS file format used changes the file of H.264 sample and AAC sample form into.
Fig. 4 is to process the device structure schematic diagram that video is downloaded, as it can be seen, may include that
Receiver module 401, for receiving the playlist that network side provides the terminal with, described playlist In carry download VPTS timestamp describes information, APTS timestamp describes information, and Video coding Data slot, the network address of coded audio data fragment, wherein, a VPTS timestamp describes letter Breath matches with a video data encoder fragment, and an APTS timestamp describes information and an audio frequency Coded data fragment matches, and an audio/video program is by some video data encoder fragments, audio coding Data slot, and several APTS timestamps describe information and VPTS timestamp describes information composition;
Determine module 402, for determining that the VPTS timestamp of required download describes information, APTS time Stamp description information, video data encoder fragment and coded audio data fragment;
Request module 403, for carrying to network side transmission according to the network address carried in playlist After the download request of the network address, the VPTS timestamp that downloading network side provides describes information, APTS Timestamp describes information, video data encoder fragment and coded audio data fragment;
Download module 404, is used for the video data encoder fragment downloaded, coded audio data fragment, And corresponding VPTS timestamp describes information, APTS timestamp describes information and carries out the same of timestamp Step work.
In enforcement, receiver module can also be further used for receiving the HLS protocol that network side provides the terminal with The tabular described playlist of played column of transmission during playing audio/video programs.
In enforcement, request module can also be further used for making during by HLS protocol playing audio/video programs The network address of MPEG-TS file change the network of H.264 sample and AAC sample file into Address.
As seen from the above-described embodiment, in the scheme that the embodiment of the present invention provides, provide video at network side Time, provide the terminal with one and describe information with VPTS timestamp, with a Video coding fragment (H.264 Samples) matching, an APTS timestamp describes information, with an audio coding (AAC samples) The play list file that fragment matches.One audio/video program is by some audio/video coding fragments and some Individual APTS/VPTS timestamp describes fragment composition.When end side downloads audio frequency and video, under network side sends Carry request, request of downloading for for the terminal required audio frequency and video fragment downloaded of instruction network side and APTS/VPTS timestamp describes information.After terminal downloads describes information to VPTS/APTS timestamp, Audio/video coding data are worked asynchronously, sends into decoder and be decoded playing.
The technical scheme provided in the embodiment of the present invention is provided, can be similar in HLS protocol with derived class The adaptive advantage of code check, can reduce in HLS protocol again simultaneously, transmit MPEG2-TS sheet The redundancy bytes being clipped in during section, thus reach to save the purpose of bandwidth.
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 (12)

1. the method that video is provided, it is characterised in that including:
Provide the terminal with playlist, described playlist carries download VPTS timestamp and describes letter Breath, APTS timestamp describe information, and video data encoder fragment, the net of coded audio data fragment Network address, wherein, a VPTS timestamp describes information and matches with a video data encoder fragment, One APTS timestamp describes information and matches with a coded audio data fragment, an audio frequency and video joint Mesh is by some video data encoder fragments, coded audio data fragment, and several APTS timestamps are retouched State information and VPTS timestamp describes information composition;
The download request carrying the network address sent according to terminal provides the terminal with VPTS timestamp and describes Information, APTS timestamp describe information, video data encoder fragment and coded audio data fragment.
Method the most according to claim 1, it is characterised in that described played column tableau format is The played column tableau format of transmission during HLS protocol playing audio/video programs.
Method the most according to claim 2, it is characterised in that farther include:
H.264 the MPEG-TS file format used during HLS protocol playing audio/video programs is changed into The file of sample and AAC sample form.
4. one kind processes the method that video is downloaded, it is characterised in that including:
Receive the playlist that network side provides the terminal with, described playlist carries download VPTS Timestamp describes information, APTS timestamp describes information, and video data encoder fragment, audio coding The network address of data slot, wherein, a VPTS timestamp describes information and a Video coding number Matching according to fragment, an APTS timestamp describes information and matches with a coded audio data fragment, One audio/video program by some video data encoder fragments, coded audio data fragment, and several APTS timestamp describes information and VPTS timestamp describes information composition;
Determine that the required VPTS timestamp downloaded describes information, APTS timestamp describes information, video is compiled Code data slot and coded audio data fragment;
Carry the download request of the network address to network side transmission according to the network address carried in playlist After, the VPTS timestamp that downloading network side provides describes information, APTS timestamp describes information, video Coded data fragment and coded audio data fragment;
To the video data encoder fragment downloaded, coded audio data fragment, and corresponding VPTS Timestamp describes information, APTS timestamp describes information and carries out the synchronous working of timestamp.
Method the most according to claim 4, it is characterised in that described played column tableau format is The played column tableau format of transmission during HLS protocol playing audio/video programs.
Method the most according to claim 5, it is characterised in that farther include:
To change into by the network address of the MPEG-TS file used during HLS protocol playing audio/video programs H.264sample with the network address of AAC sample file.
7. the equipment that video is provided, it is characterised in that including:
Address provides module, is used for providing the terminal with playlist, carries download in described playlist VPTS timestamp describes information, APTS timestamp describes information, and video data encoder fragment, sound Frequently the network address of coded data fragment, wherein, a VPTS timestamp describes information and a video Coded data fragment matches, and an APTS timestamp describes information and a coded audio data fragment Match, an audio/video program by some video data encoder fragments, coded audio data fragment, and Several APTS timestamps describe information and VPTS timestamp describes information composition;
Download and module is provided, carry to terminal for the download request carrying the network address sent according to terminal For VPTS timestamp describes information, APTS timestamp describes information, video data encoder fragment and sound Frequently coded data fragment.
Equipment the most according to claim 7, it is characterised in that address provides module to be further used for The tabular described played column of played column of transmission when providing the terminal with HLS protocol playing audio/video programs Table.
Equipment the most according to claim 8, it is characterised in that download and provide module to be further used for H.264sample the MPEG-TS file format used during HLS protocol playing audio/video programs is changed into File with AAC sample form.
10. one kind processes the equipment that video is downloaded, it is characterised in that including:
Receiver module, for receiving the playlist that network side provides the terminal with, takes in described playlist With downloading, VPTS timestamp describes information, APTS timestamp describes information, and video data encoder Fragment, the network address of coded audio data fragment, wherein, VPTS timestamp describe information with One video data encoder fragment matches, and an APTS timestamp describes information and an audio coding Data slot matches, and an audio/video program is by some video data encoder fragments, coded audio data Fragment, and several APTS timestamps describe information and VPTS timestamp describes information composition;
Determine module, for determining that the VPTS timestamp of required download describes information, APTS timestamp is retouched State information, video data encoder fragment and coded audio data fragment;
Request module, for carrying network according to the network address carried in playlist to network side transmission After the download request of address, the VPTS timestamp that downloading network side provides describes information, APTS timestamp Description information, video data encoder fragment and coded audio data fragment;
Download module, is used for the video data encoder fragment downloaded, coded audio data fragment, and with The VPTS timestamp of correspondence information is described, APTS timestamp describes information and carries out the synchronization work of timestamp Make.
11. equipment according to claim 10, it is characterised in that receiver module is further used for connecing The tabular institute of played column of transmission during the HLS protocol playing audio/video programs that receipts network side provides the terminal with State playlist.
12. equipment according to claim 11, it is characterised in that request module be further used for by Change into H.264 by the network address of the MPEG-TS file used during HLS protocol playing audio/video programs The network address of sample and AAC sample file.
CN201610201652.0A 2016-03-31 2016-03-31 Method and device of providing and processing video downloading Pending CN105847897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201652.0A CN105847897A (en) 2016-03-31 2016-03-31 Method and device of providing and processing video downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201652.0A CN105847897A (en) 2016-03-31 2016-03-31 Method and device of providing and processing video downloading

Publications (1)

Publication Number Publication Date
CN105847897A true CN105847897A (en) 2016-08-10

Family

ID=56596564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201652.0A Pending CN105847897A (en) 2016-03-31 2016-03-31 Method and device of providing and processing video downloading

Country Status (1)

Country Link
CN (1) CN105847897A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270928A (en) * 2020-10-28 2021-01-26 北京百瑞互联技术有限公司 Method, device and storage medium for reducing code rate of audio encoder
CN114339326A (en) * 2021-12-10 2022-04-12 北京拼响天空文化科技有限公司 Method, device and system for sound and picture synchronization based on video playback

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188597A (en) * 2006-01-13 2007-07-26 Sony Corp Content reproduction device and content reproduction method, and program
CN102238179A (en) * 2010-04-07 2011-11-09 苹果公司 Real-time or near real-time streaming
US20110320287A1 (en) * 2010-06-28 2011-12-29 Hulu Llc Method and apparatus for providing streaming media programs and targeted advertisements compatibly with http live streaming
CN102665103A (en) * 2012-04-13 2012-09-12 烽火通信科技股份有限公司 Audio and video packaging method applicable to streaming media services
CN103491427A (en) * 2013-09-11 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for processing video
CN103583051A (en) * 2011-06-03 2014-02-12 苹果公司 Playlists for real-time or near real-time streaming
CN103648011A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Audio and video synchronization device and method based on HLS protocol
CN104202684A (en) * 2014-08-27 2014-12-10 珠海全志科技股份有限公司 Segmental network video seamless playing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188597A (en) * 2006-01-13 2007-07-26 Sony Corp Content reproduction device and content reproduction method, and program
CN102238179A (en) * 2010-04-07 2011-11-09 苹果公司 Real-time or near real-time streaming
US20110320287A1 (en) * 2010-06-28 2011-12-29 Hulu Llc Method and apparatus for providing streaming media programs and targeted advertisements compatibly with http live streaming
CN103583051A (en) * 2011-06-03 2014-02-12 苹果公司 Playlists for real-time or near real-time streaming
CN102665103A (en) * 2012-04-13 2012-09-12 烽火通信科技股份有限公司 Audio and video packaging method applicable to streaming media services
CN103491427A (en) * 2013-09-11 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for processing video
CN103648011A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Audio and video synchronization device and method based on HLS protocol
CN104202684A (en) * 2014-08-27 2014-12-10 珠海全志科技股份有限公司 Segmental network video seamless playing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270928A (en) * 2020-10-28 2021-01-26 北京百瑞互联技术有限公司 Method, device and storage medium for reducing code rate of audio encoder
CN112270928B (en) * 2020-10-28 2024-06-11 北京百瑞互联技术股份有限公司 Method, device and storage medium for reducing code rate of audio encoder
CN114339326A (en) * 2021-12-10 2022-04-12 北京拼响天空文化科技有限公司 Method, device and system for sound and picture synchronization based on video playback
CN114339326B (en) * 2021-12-10 2023-06-27 北京拼响天空文化科技有限公司 Sound and picture synchronization method, device and system based on video playing

Similar Documents

Publication Publication Date Title
US11805286B2 (en) Apparatus and method for transmitting/receiving processes of a broadcast signal
US10820065B2 (en) Service signaling recovery for multimedia content using embedded watermarks
CN107113460B (en) Session description information for over-the-air broadcast media data
US10715571B2 (en) Self-adaptive streaming medium processing method and apparatus
KR102598237B1 (en) Method and apparatus for digital broadcast services
CN107211200B (en) Method and apparatus for transmitting/receiving media data
US20200336526A1 (en) Reception device, reception method, transmission device, and transmission method for distributing signaling information
CN106416270B (en) Transmission device, transmission method, and reception device
CN103957469A (en) Internet video on demand method and system based on real-time packaging switching
CN105407361A (en) Audio and video live broadcast data processing method and device
CN108174284B (en) Android system-based video decoding method
CN105872599A (en) Method and device for providing and downloading videos
US20100262492A1 (en) Method and arrangement relating to a media structure
US9854019B2 (en) Method and apparatus for modifying a stream of digital content
CN102487453A (en) Method for dynamically inserting program in segmental program and system thereof
KR102137858B1 (en) Transmission device, transmission method, reception device, reception method, and program
US20160073137A1 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
CN103067745B (en) A kind of cutting method of video data and device, online editing method and system
CN105847897A (en) Method and device of providing and processing video downloading
US20150067749A1 (en) Method and apparatus for providing extended tv data
CA2944985C (en) Receiver, transmitter, data communication method, and data processing method
CN107248991B (en) IP stream scheduling system and method based on video key frame
CN107005745B (en) Method and apparatus for encapsulating a stream of audiovisual content
EP3051830A1 (en) Content supply device, content supply method, program, terminal device, and content supply system
JP2021197584A (en) Multiple signal conversion device and program thereof, and receiver

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: 20160810

WD01 Invention patent application deemed withdrawn after publication