CN107911729A - Internet video playback method and terminal - Google Patents
Internet video playback method and terminal Download PDFInfo
- Publication number
- CN107911729A CN107911729A CN201710994812.6A CN201710994812A CN107911729A CN 107911729 A CN107911729 A CN 107911729A CN 201710994812 A CN201710994812 A CN 201710994812A CN 107911729 A CN107911729 A CN 107911729A
- Authority
- CN
- China
- Prior art keywords
- data
- video
- original video
- buffering area
- video data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Abstract
The embodiment of the invention discloses a kind of Internet video playback method, including:The first video compression data in first buffering area is unziped it, to obtain corresponding first original video data of the first video compression data, the first video compression data is received and preserved from network side;First original video data is stored in second buffering area;Detect need play the first original video data when, the first original video data is obtained from second buffering area and is played out.Implement the embodiment of the present invention, the fluency of Internet video broadcasting can be improved.
Description
Technical field
The present embodiments relate to field of communication technology, more particularly to a kind of Internet video playback method and terminal.
Background technology
At present, user had required high a lot to the real-time and convenience of watching video than in the past.Especially for reality
When Internet video, such as live video, the fluency of client player loading video is even more the finger that people pay special attention to
Mark.The playing process of Internet video is usually the video data that client first obtains encoded compression from network side, this is compiled
The video data of code compression is placed on buffering area.When playing out, regarding for coding compression can be directly taken out from buffering area
Frequency evidence, obtains the original video data that can be played out after being decoded, and plays the original video data.
However, the video data compressed is encoded during being decoded and being played, due to playing the end of Internet video
The limitation of the hardware performance at end, differs the video data decoding speed of coding compression, causes video playing unsmooth, so that
Reduce the fluency of Internet video broadcasting.
The content of the invention
The embodiment of the present invention provides a kind of Internet video playback method and terminal, can improve the smoothness of Internet video broadcasting
Property.
In a first aspect, the embodiment of the present invention provides a kind of Internet video playback method, including:By in first buffering area
One video compression data unzips it, to obtain corresponding first original video data of first video compression data, institute
The first video compression data is stated to receive and preserve from network side;First original video data is stored in the second buffering
Area;Detect need to play first original video data when, it is original that described first is obtained from the second buffering area
Video data plays out.
In one embodiment, it is described detect need to play first original video data when, from described second
First original video data is obtained in buffering area to play out, including:Detecting that the audio compression data received can
When playing duration exceedes predetermined threshold value, first original video data is obtained from the second buffering area and is played out, institute
The first original video data is stated to be played simultaneously with the audio compression data.
In one embodiment, it is described first original video data is obtained from the second buffering area to be broadcast
Put, including:First original video data is obtained from the second buffering area;Taken according to first original video data
The timestamp that the timestamp of band and the audio compression data carry is by first original video data and the audio compression
Data synchronize broadcasting.
In one embodiment, it is described first original video data is obtained from the second buffering area to play out
Afterwards, the method further includes:The second video compression data in the first buffering area is unziped it, with described in acquisition
Corresponding second original video data of second video compression data, second video compression data are received from the network side
And preserve;Second original video data is stored in the second buffering area;Need to play described second detecting
During original video data, second original video data is obtained from the second buffering area and is played out.
In one embodiment, first video compression data by first buffering area unzips it, to obtain
Corresponding first original video data of first video compression data, including:The network side is received in first buffering area
During three video compression data sent, first video compression data in the first buffering area is unziped it,
To obtain corresponding first original video data of first video compression data.
Second aspect, the embodiment of the present invention provide a kind of terminal, including:
Acquiring unit, for the first video compression data in first buffering area to be unziped it, to obtain described
Corresponding first original video data of one video compression data, first video compression data are received and preserved from network side
's;
Storage unit, for first original video data to be stored in second buffering area;
The acquiring unit, be additionally operable to detect need to play first original video data when, from described second
First original video data is obtained in buffering area to play out.
In one embodiment, the acquiring unit detect need to play first original video data when, from
First original video data is obtained in the second buffering area to play out, including:The acquiring unit is connect detecting
When received audio compression data can play duration and exceed predetermined threshold value, it is original that described first is obtained from the second buffering area
Video data plays out, and first original video data is played simultaneously with the audio compression data.
In one embodiment, the acquiring unit obtains first original video data from the second buffering area
Play out, including:First original video data is obtained from the second buffering area;According to first original video
The timestamp that the timestamp and the audio compression data that data carry carry is by first original video data and the sound
Frequency compressed data synchronizes broadcasting.
In one embodiment, the acquiring unit, is additionally operable to the second video compress number in the first buffering area
According to unziping it, to obtain corresponding second original video data of second video compression data, the second video pressure
Contracting data are received and preserved from the network side;The storage unit, is additionally operable to protect second original video data
There are the second buffering area;The acquiring unit, be additionally operable to detect need to play second original video data when,
Second original video data is obtained from the second buffering area to play out.
In one embodiment, the acquiring unit by first video compression data in the first buffering area into
Row decompression, to obtain corresponding first original video data of first video compression data, including:The acquiring unit,
Specifically for when receiving three video compression data that the network side is sent, by described the in the first buffering area
One video compression data unzips it, and obtains corresponding first original video data of first video compression data.
Implement the embodiment of the present invention, will have the advantages that:
The caching of buffered video data is divided into the first buffer area and the second buffer area, wherein, first buffering area storage
The video compression data received from network side, second buffering area storage need the original video data played.Decompression needs in advance
The video compression data to be played, directly takes out decompressed obtained original video data and is broadcast when needing and playing
Put.The solution bit rate of video compression data can be influenced to avoid the hardware performance for playing Internet video, so as to reduce video
Play it is unsmooth, so as to improve Internet video broadcasting fluency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Wherein:
Fig. 1 is a kind of flow diagram of Internet video playback method provided in an embodiment of the present invention;
Fig. 2 is a kind of structure diagram of the Internet video play system provided in the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment, belongs to the scope of protection of the invention.
To solve the relatively low technical problem of the fluency of Internet video broadcasting in the prior art, spy proposes a kind of network video
Frequency playback method, can improve the fluency of Internet video broadcasting.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of Internet video playback method provided in an embodiment of the present invention.Should
Internet video playback method is described from the angle for watching live terminal, as shown in Figure 1, the Internet video playback method bag
Contain but be not limited to following steps:
S101, receive the first video compression data that network side is sent, and first video compression data is stored in the
One buffering area.
In the embodiment of the present invention, under internet video live broadcasting scene, to improve the efficiency and speed of live video data transmission
Degree, it can be from network side in the form of compressed data to watch the video data that live terminal (hereinafter referred to as terminal) receives
Transmit, that is, what is received is video compression data.Video compression data needs to obtain original video number after being decompressed
According to can just play out.In addition, from network side receive video data and from network side receive voice data can be
What end side was separately stored.To improve the efficiency and speed of live video data transmission, from the audio number of network side reception
According to can also be transmitted in the form of compressed data from network side, that is, what is received be audio compression data.Audio pressure
Contracting data need to obtain original audio data after being decompressed, and can just play out.
Wherein, network side can carry out live subscription client (hereinafter referred to as live subscription client), can also
It is the webserver, the embodiment of the present invention is not construed as limiting this.For example, audio frequency and video compressed data can be directly from live use
Pass through one in wireless WiFi, 4G net, WLAN and following technology etc. of eating dishes without rice or wine newly defined in the client that family uses
Kind or a variety of be transferred in audio frequency and video cache module.Audio frequency and video compressed data can also be passed through from the webserver
One or more in wireless WiFi, 4G net, WLAN and following technology etc. of eating dishes without rice or wine newly defined are transferred to audio and regard
In frequency cache module.
Referring to Fig. 2, Fig. 2 is a kind of structure diagram of the Internet video play system provided in the embodiment of the present invention,
As shown in Fig. 2, the Internet video play system can be divided into two modules:Audio frequency and video cache module and playing control module.
Wherein, audio frequency and video cache module is used to store the audio compression data and video compression data received from network side, audio
Compressed data and video compression data are used to synchronize broadcasting.Playing control module can be used for control and receive number from network side
According to and be stored in audio frequency and video buffer module, and take out audio compression data and video compression data from audio frequency and video buffer module,
Play out.
The audio compression data and video compression data of audio frequency and video cache module storage can be stored separately.
As shown in Fig. 2, an audio data buffer and two video data buffers can be included in audio frequency and video cache module.One
A audio data buffer is used to receive and store voice data from network side.A video in two video data buffers
Data buffer zone is used to receive and store video compression data from network side, another video data buffer is used to regard from one
Frequency data buffer zone receives video compression data, and stores the original video data that video compression data decompresses.Two regard
Frequency data buffer zone is respectively:(original video data is delayed for first buffering area (video compression data buffering area) and second buffering area
Rush area).The first video compression data received is put into first buffering area.
S102, by first video compression data in the first buffering area into decompression, to obtain described first
Corresponding first original video data of video compression data.
In the embodiment of the present invention, the video compression data for needing to play can be decompressed in advance, it is direct when needing to play
Decompressed obtained original video data is taken out to play out.It can influence to regard to avoid the hardware performance for playing Internet video
The solution bit rate of frequency compressed data, video playing is unsmooth so as to reducing, so as to improve the stream of Internet video broadcasting
Smooth property.
S103, by first original video data be stored in second buffering area.
As shown in Fig. 2, it can be stored in by the first original video data that the first video compression data of decompression obtains
In second buffering area, when needing to play the first initial data, decompressed first can be taken out from second buffering area
Initial data plays out, and the solution bit rate of video compression data can be influenced to avoid the hardware performance for playing Internet video, from
And can reduce that video playing is unsmooth, so as to improve the fluency of Internet video broadcasting.
In the embodiment of the present invention, can be detect storage original video data buffering area less than when, triggering perform
Step be S102's or first buffering area when receiving new video compression data, if detecting storage original video
The memory space of the second buffering area of data is less than triggering performs step S102's.Triggering performs in the case of can also be other
Step 102, the embodiment of the present invention is not construed as limiting this.
Specifically, first video compression data by the first buffering area unzips it, institute is obtained
Corresponding first original video data of the first video compression data is stated, can be included:Detecting depositing for the second buffering area
Store up space less than when, first video compression data in the first buffering area is unziped it, obtain described first
Corresponding first original video data of video compression data.
For example, whether the second buffering area that playing control module can detect storage original video data is in memory space
The state that data are filled with.In the case that second buffering area memory space data are filled with, playing control module is from second buffering area
Middle taking-up original video data plays out, and causes the memory space data of second buffering area to be no longer filled with, shows in live
The state of the lasting broadcasting of video, can unzip it first video compression data in the first buffering area,
Obtain corresponding first original video data of first video compression data.
First video compression data by the first buffering area unzips it, and obtains described first and regards
Corresponding first original video data of frequency compressed data, can also include:Receiving the 3rd video of the network side transmission
During compressed data, first video compression data in the first buffering area is unziped it, described first is obtained and regards
Corresponding first original video data of frequency compressed data.
For example, playing control module can detect whether that new video compression data arrives from network side, or detection
Whether there is new audio-visual data to arrive from network side.When there is new video compression data to arrive from network side, or have new
Audio-visual data from network side arrive when, show in live video lasting broadcasting state.It can detect and deposit at this time
Whether the memory space for storing up the second buffering area of original video data is filled with, if detecting the second of storage original video data
The memory space of buffering area less than, first video compression data in the first buffering area can be unziped it,
Corresponding first original video data of first video compression data is obtained, and the first original video data is stored in second
Buffering area.
S104, detect need to play first original video data when, institute is obtained from the second buffering area
The first original video data is stated to play out.
In the embodiment of the present invention, the data storage order of first original video data is the first video compress number
According to time sequencing of the corresponding acquired original data in collection, described that described first is obtained from the second buffering area is original
Video data plays out, including:Described first original is regarded according to the data storage order of first original video data
Frequency evidence is taken out from the second buffering area to be played out.
Specifically, the storage order of the first video compression data received from network side may not be fully according to collection
Time sequencing storage, the time sequencing of the collection refers to time sequencing of the video data when live client gathers.I.e.
The video compression data storage order for reaching first buffering area is probably chaotic.But in video playing, taken out to save
The time of initial data, in first buffering area, can by the original video data obtained after decompression according to collection when when
Between sequencing storage.
Specifically, first video compression data includes at least one data packet;Described in each data packet carries
Timestamp of the corresponding acquired original data of data packet in collection, the corresponding acquired original number of first video compression data
The sequencing of the timestamp each carried at least one data packet according to the time sequencing in collection.The above-mentioned time
Stamp can be when videoconference client gathers video, carry in corresponding data packet, and wrap carrying by different pieces of information
Timestamp determine collection when time order and function order, so that it is determined that each data packet storage order.
In the embodiment of the present invention, detect need to play first original video data when, from described second buffering
First original video data is obtained in area to play out, and can be included:Detecting that the audio compression data received can
When playing duration exceedes predetermined threshold value, first original video data is obtained from the second buffering area and is played out, institute
The first original video data is stated to be played simultaneously with the audio compression data.
In the embodiment of the present invention, first original video data is obtained from the second buffering area and is played out, wrapped
Include:First original video data is obtained from the second buffering area;Carried according to first original video data
The timestamp that timestamp and the audio compression data carry is by first original video data and the audio compression data
Synchronize broadcasting.
Internet video live broadcasting playing process can be divided into two processes:During the original state of broadcasting and broadcasting.Broadcast
Under the original state put, after detecting that the data of audio data buffer can be more than preset value between sowing time, start Audio Buffer
Area head audio compression data is decoded and played, while is taken out head video data and played, at this time into broadcast state.Play
Original state be user trigger play this event when enter, or it is live during audio buffer audio compression number
After sky is played, enter again after buffering audio compression data to preset value.Specifically, clicked on from the live user of viewing
" broadcasting " starts, and the data volume to the audio compression data of voice data caching is also not up to this period of preset value, can be with
Video compression data in first buffering area is taken out, and decompression is condensed to original video data and is stored in second buffering area.
When the data volume of the audio compression data of voice data caching reaches preset value, it can start audio buffer head audio pressure
Contracting data are decoded and played, while take out the head video compress number of original video data decompressed in second buffering area
Broadcasting is synchronized according to voice data.It can be by each carrying that original video data is played simultaneously with audio compression data
Timestamp information synchronize broadcasting, timestamp can be carry out terminal collection audio that net cast user uses and
During video, the timestamp recorded, and carry in the voice data and video data gathered under the timestamp.
Under live video broadcast state, the decoding of packets of audio data plays opportunity by its timestamp and FTP client FTP time
Determine.In broadcast state, the timestamp of current video raw data buffer header data is inspected periodically, with current audio data
The timestamp of bag is contrasted, if difference exceedes certain threshold value, video playing is adjusted and (skips partial frame or pause
Decoding and broadcasting), adjust to audio-visual synchronization state.The video compression data received can solve in advance before needing to play
Compress and be stored in second buffering area, when needing to play corresponding video data, being taken out directly from second buffering area needs
The original video data to be played plays out.Judging whether to need to play corresponding original video data can be with passage time
Stamp is, it is necessary to which the timestamp of the original video data played needs and the difference of the timestamp of currently playing audio compression data is absolute
Value is no more than certain threshold value, is played with reaching video and audio sync.If midway runs into the voice data buffered in audio buffer
Sky is broadcast, then suspends audio and video playing, reenters original state.
In the embodiment of the present invention, first original video data is obtained from the second buffering area and plays out it
Afterwards, following steps be can also carry out:The second video compression data in the first buffering area is unziped it, to obtain
Corresponding second original video data of the second video compression data is stated, second video compression data is from the network side joint
Receive and preserve;Second original video data is stored in the second buffering area;Need to play described detecting
During two original video datas, second original video data is obtained from the second buffering area and is played out.I.e. second is slow
The full state of memory space can be kept by rushing area, and video original data (the first video is taken out from second buffering area when detecting
Initial data) when playing out, cause the memory space of second buffering area not to be filled with, then by the second video in first buffering area
Compressed data unzips it, to obtain corresponding second original video data of second video compression data, by described
Two original video datas are stored in the second buffering area, detect need to play second original video data when, from
Second original video data is obtained in the second buffering area to play out.Here the second video compression data can be
The time earliest video compression data that timestamp indicates in first buffering area.
In the described Internet video playback methods of Fig. 1, the caching of buffered video data is divided into the first buffer area
With the second buffer area, wherein, the video compression data that is received from network side of first buffering area storage, second buffering area storage needs
The original video data to be played.Decompression needs the video compression data played in advance, is directly taken out when needing and playing
Obtained original video data is decompressed to play out.Video compress number can be influenced to avoid the hardware performance for playing Internet video
According to solution bit rate, video playing is unsmooth so as to reducing, so as to improve the fluency of Internet video broadcasting.
Referring to Fig. 3, Fig. 3 is a kind of structure diagram of terminal provided in an embodiment of the present invention.As shown in figure 3, the end
End includes:
Acquiring unit 301, for the first video compression data in first buffering area to be unziped it, with described in acquisition
Corresponding first original video data of first video compression data, first video compression data are received and protected from network side
Deposit;
Storage unit 302, for first original video data to be stored in second buffering area;
The acquiring unit 301, be additionally operable to detect need to play first original video data when, from described
First original video data is obtained in two buffering areas to play out.
In one embodiment, acquiring unit 301 detect need to play first original video data when, from institute
State and first original video data is obtained in second buffering area play out, including:
The acquiring unit 301 when detecting that the audio compression data received can play duration and exceed predetermined threshold value,
First original video data is obtained from the second buffering area to play out, first original video data with it is described
Audio compression data is played simultaneously.
In one embodiment, acquiring unit 301 obtains first original video data from the second buffering area
Play out, including:First original video data is obtained from the second buffering area;According to first original video
The timestamp that the timestamp and the audio compression data that data carry carry is by first original video data and the sound
Frequency compressed data synchronizes broadcasting.
In one embodiment, the acquiring unit 301, is additionally operable to the second video compress in the first buffering area
Data unzip it, to obtain corresponding second original video data of second video compression data, second video
Compressed data is received and preserved from the network side;
The storage unit 302, is additionally operable to second original video data being stored in the second buffering area;
The acquiring unit 301, be additionally operable to detect need to play second original video data when, from described
Second original video data is obtained in two buffering areas to play out.
In one embodiment, the acquiring unit 301 is by the first video compress number in the first buffering area
According to unziping it, to obtain corresponding first original video data of first video compression data, including:It is described to obtain list
Member 301, specifically for when receiving three video compression data that the network side is sent, by the first buffering area
First video compression data unzips it, and obtains the corresponding first original video number of first video compression data
According to.
In the described terminals of Fig. 3, the caching of buffered video data is divided into the first buffer area and the second buffer area,
Wherein, the video compression data that first buffering area storage is received from network side, second buffering area storage need to play original
Video data.Decompression needs the video compression data that plays in advance, directly takes out when needing and playing decompressed obtain
Original video data plays out.The decoding speed of video compression data can be influenced to avoid the hardware performance for playing Internet video
Rate, video playing is unsmooth so as to reducing, so as to improve the fluency of Internet video broadcasting.
Referring to Fig. 4, Fig. 4 is the structure diagram of another terminal provided in an embodiment of the present invention.As shown in figure 4, this
Terminal in embodiment can include:One or more processors 401;One or more input equipments 402, one or more are logical
Believe interface 403, memory 404 and bus 405.Above-mentioned processor 401, input equipment 402, communication interface 403 and memory 404
Connected by bus 405.For storing instruction, processor 401 is used for the instruction for performing the storage of memory 404 to memory 404.Its
In, input equipment 402 can be touch-screen, for detecting the operation of intended application, communication interface 403 be used for server or
Live client communicates, for receiving video compression data and audio compression data.Processor 401 is additionally operable to call storage
The programmed instruction stored in device 404 performs following operation:
The first video compression data in first buffering area is unziped it, to obtain first video compression data
Corresponding first original video data, first video compression data are received and preserved from network side;
First original video data is stored in second buffering area;
Detect need to play first original video data when, described first is obtained from the second buffering area
Original video data plays out.
In one embodiment, processor 401 detect need to play first original video data when, from described
First original video data is obtained in second buffering area to play out, including:
Processor 401 is when detecting that the audio compression data received can play duration and exceed predetermined threshold value, from described
Obtain first original video data in second buffering area to play out, first original video data and the audio pressure
Contracting data are played simultaneously.
In one embodiment, processor 401 obtained from the second buffering area first original video data into
Row plays, including:Processor 401 obtains first original video data from the second buffering area;
What the timestamp and the audio compression data that processor 401 is carried according to first original video data carried
First original video data and the audio compression data are synchronized broadcasting by timestamp.
In one embodiment, the processor 401 obtains the first original video number from the second buffering area
After playing out, processor 401 is additionally operable to call the programmed instruction stored in memory 404 to perform following operation:
The second video compression data in the first buffering area is unziped it, to obtain second video compress
Corresponding second original video data of data, second video compression data are received and preserved from the network side;
Second original video data is stored in the second buffering area;
Detect need to play second original video data when, described second is obtained from the second buffering area
Original video data plays out.
In one embodiment, the processor 401 is by first video compression data in the first buffering area
Unzip it, obtain corresponding first original video data of first video compression data, including:
Processor 401 calls communication interface 403, when receiving three video compression data that the network side is sent,
Processor 401 unzips it first video compression data in the first buffering area, obtains first video
Corresponding first original video data of compressed data.
In the described terminals of Fig. 4, the caching of buffered video data is divided into the first buffer area and the second buffer area,
Wherein, the video compression data that first buffering area storage is received from network side, second buffering area storage need to play original
Video data.Decompression needs the video compression data that plays in advance, directly takes out when needing and playing decompressed obtain
Original video data plays out.The decoding speed of video compression data can be influenced to avoid the hardware performance for playing Internet video
Rate, video playing is unsmooth so as to reducing, so as to improve the fluency of Internet video broadcasting.
In the above-described embodiments, can it is all or part of by software, hardware, firmware or its any combination come reality
It is existing.When being realized using software program, can realize in the form of a computer program product whole or in part.The computer
Program product includes one or more computer instructions.When loading on computers and performing the computer program instructions, entirely
Portion is partly produced according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, specially
With computer, computer network or other programmable devices.The computer instruction can be stored in computer-readable storage
In medium, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the meter
The instruction of calculation machine can pass through wired (such as coaxial cable, light from a web-site, computer, server or data center
Fine, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, clothes
Business device or data center are transmitted.It is any available can be that computer can access for the computer-readable recording medium
The data storage device such as medium or the server integrated comprising one or more usable mediums, data center.It is described to use
Medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as it is solid
State hard disk Solid State Disk (SSD)) etc..
Data transmission method disclosed by the embodiments of the present invention and terminal are described in detail above, it is used herein
Specific case is set forth the principle of the present invention and embodiment, and the explanation of above example is only intended to help to understand this
The method and its core concept of invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, specific
There will be changes in embodiment and application range, in conclusion this specification content should not be construed as to the present invention's
Limitation.
Claims (10)
- A kind of 1. Internet video playback method, it is characterised in that including:The first video compression data in first buffering area is unziped it, is corresponded to obtaining first video compression data The first original video data, first video compression data receives and preserves from network side;First original video data is stored in second buffering area;Detect need to play first original video data when, it is original that described first is obtained from the second buffering area Video data plays out.
- 2. Internet video playback method according to claim 1, it is characterised in that described to detect described in needs broadcasting During the first original video data, first original video data is obtained from the second buffering area and is played out, including:When detecting that the audio compression data received can play duration and exceed predetermined threshold value, obtained from the second buffering area First original video data is taken to play out, first original video data is synchronously broadcast with the audio compression data Put.
- 3. Internet video playback method according to claim 2, it is characterised in that described to be obtained from the second buffering area First original video data is taken to play out, including:First original video data is obtained from the second buffering area;The timestamp that the timestamp and the audio compression data carried according to first original video data carries is by described in First original video data synchronizes broadcasting with the audio compression data.
- 4. Internet video playback method according to any one of claims 1 to 3, it is characterised in that described from described second Obtained in buffering area after first original video data plays out, the method further includes:The second video compression data in the first buffering area is unziped it, to obtain second video compression data Corresponding second original video data, second video compression data are received and preserved from the network side;Second original video data is stored in the second buffering area;Detect need to play second original video data when, it is original that described second is obtained from the second buffering area Video data plays out.
- 5. Internet video playback method according to any one of claims 1 to 3, it is characterised in that described by the first buffering The first video compression data in area unzips it, to obtain corresponding first original video of first video compression data Data, including:When first buffering area receives three video compression data that the network side is sent, by the first buffering area First video compression data unzips it, to obtain the corresponding first original video number of first video compression data According to.
- A kind of 6. terminal, it is characterised in that including:Acquiring unit, for the first video compression data in first buffering area to be unziped it, is regarded with obtaining described first Corresponding first original video data of frequency compressed data, first video compression data are received and preserved from network side;Storage unit, for first original video data to be stored in second buffering area;The acquiring unit, be additionally operable to detect need to play first original video data when, from described second buffering First original video data is obtained in area to play out.
- 7. terminal according to claim 6, it is characterised in that the acquiring unit needs to play described first detecting During original video data, first original video data is obtained from the second buffering area and is played out, including:The acquiring unit is when detecting that the audio compression data received can play duration and exceed predetermined threshold value, from described Obtain first original video data in two buffering areas to play out, first original video data and the audio compression Data are played simultaneously.
- 8. terminal according to claim 7, it is characterised in that the acquiring unit obtains institute from the second buffering area The first original video data is stated to play out, including:First original video data is obtained from the second buffering area;The timestamp that the timestamp and the audio compression data carried according to first original video data carries is by described in First original video data synchronizes broadcasting with the audio compression data.
- 9. according to claim 6 to 8 any one of them terminal, it is characterised in that the acquiring unit, is additionally operable to described The second video compression data in one buffering area unzips it, to obtain corresponding second original of second video compression data Beginning video data, second video compression data are received and preserved from the network side;The storage unit, is additionally operable to second original video data being stored in the second buffering area;The acquiring unit, be additionally operable to detect need to play second original video data when, from described second buffering Second original video data is obtained in area to play out.
- 10. according to claim 6 to 8 any one of them terminal, it is characterised in that the acquiring unit is buffered described first First video compression data in area unzips it, corresponding first original to obtain first video compression data Video data, including:The acquiring unit, specifically for when receiving three video compression data that the network side is sent, by described the First video compression data in one buffering area unzips it, and obtains first video compression data corresponding first Original video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710994812.6A CN107911729A (en) | 2017-10-23 | 2017-10-23 | Internet video playback method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710994812.6A CN107911729A (en) | 2017-10-23 | 2017-10-23 | Internet video playback method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107911729A true CN107911729A (en) | 2018-04-13 |
Family
ID=61841537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710994812.6A Pending CN107911729A (en) | 2017-10-23 | 2017-10-23 | Internet video playback method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107911729A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202751A (en) * | 2020-09-25 | 2021-01-08 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
CN113131972A (en) * | 2021-04-13 | 2021-07-16 | Oppo广东移动通信有限公司 | Method, device and electronic equipment for receiving and sending audio data packet |
WO2024074012A1 (en) * | 2022-10-08 | 2024-04-11 | 苏州元脑智能科技有限公司 | Video transmission control method, apparatus and device, and nonvolatile readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0987904A2 (en) * | 1998-08-31 | 2000-03-22 | Lucent Technologies Inc. | Method and apparatus for adaptive synchronization of digital video and audio playback |
CN103078810A (en) * | 2012-12-31 | 2013-05-01 | 中国科学院自动化研究所 | Efficient rich media showing system and method |
CN103686449A (en) * | 2013-12-31 | 2014-03-26 | 大连文森特软件科技有限公司 | Caching method of improving video fluency and image quality |
CN106331820A (en) * | 2015-06-29 | 2017-01-11 | 成都鼎桥通信技术有限公司 | Synchronous audio and video processing method and device |
CN107277614A (en) * | 2017-06-27 | 2017-10-20 | 深圳市爱培科技术股份有限公司 | Audio and video remote player method, storage device and the mobile terminal of drive recorder |
-
2017
- 2017-10-23 CN CN201710994812.6A patent/CN107911729A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0987904A2 (en) * | 1998-08-31 | 2000-03-22 | Lucent Technologies Inc. | Method and apparatus for adaptive synchronization of digital video and audio playback |
CN103078810A (en) * | 2012-12-31 | 2013-05-01 | 中国科学院自动化研究所 | Efficient rich media showing system and method |
CN103686449A (en) * | 2013-12-31 | 2014-03-26 | 大连文森特软件科技有限公司 | Caching method of improving video fluency and image quality |
CN106331820A (en) * | 2015-06-29 | 2017-01-11 | 成都鼎桥通信技术有限公司 | Synchronous audio and video processing method and device |
CN107277614A (en) * | 2017-06-27 | 2017-10-20 | 深圳市爱培科技术股份有限公司 | Audio and video remote player method, storage device and the mobile terminal of drive recorder |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202751A (en) * | 2020-09-25 | 2021-01-08 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
CN112202751B (en) * | 2020-09-25 | 2022-06-07 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
CN113131972A (en) * | 2021-04-13 | 2021-07-16 | Oppo广东移动通信有限公司 | Method, device and electronic equipment for receiving and sending audio data packet |
WO2024074012A1 (en) * | 2022-10-08 | 2024-04-11 | 苏州元脑智能科技有限公司 | Video transmission control method, apparatus and device, and nonvolatile readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8665370B2 (en) | Method for synchronized playback of wireless audio and video and playback system using the same | |
CN107660280B (en) | Low latency screen mirroring | |
CN106686438B (en) | method, device and system for synchronously playing audio images across equipment | |
EP1941738B1 (en) | Methods and apparatus for service acquisition | |
CN107566918B (en) | A kind of low delay under video distribution scene takes the neutrel extraction of root | |
JP4712238B2 (en) | Video signal encoding apparatus, video signal transmitting apparatus, and video signal encoding method | |
US9621949B2 (en) | Method and apparatus for reducing latency in multi-media system | |
CN110784740A (en) | Video processing method, device, server and readable storage medium | |
CN108965883A (en) | The system and method that video content is encoded using virtual intra frame | |
CN109587551A (en) | A kind of judgment method, device, equipment and the storage medium of live streaming media Caton | |
US20190327503A1 (en) | Use of simultaneously received videos by a system to generate a quality of experience value | |
CN107995503B (en) | Audio and video playing method and device | |
CN107911729A (en) | Internet video playback method and terminal | |
EP3127287B1 (en) | Signaling and operation of an mmtp de-capsulation buffer | |
JP2008500752A (en) | Adaptive decoding of video data | |
US20170026439A1 (en) | Devices and methods for facilitating video and graphics streams in remote display applications | |
CN110099238A (en) | A kind of packaging method of video requency frame data, intelligent terminal and storage device | |
KR101668283B1 (en) | Method for displaying video considered latency, apparatus and cloud streaming service system therefor | |
US8842740B2 (en) | Method and system for fast channel change | |
US20030190144A1 (en) | Recording apparatus, special playback system, medium and information object | |
CN105187688A (en) | Method and system for carrying out synchronization on real-time video and audio collected by mobile phone | |
JP2004289295A (en) | Data processing system, data processor, and data processing method | |
WO2011075108A1 (en) | Trick mode technique for a bandwidth limited channel | |
CN103916633B (en) | A kind of web camera image display method | |
JP4828354B2 (en) | Multi-channel image transfer device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180413 |
|
RJ01 | Rejection of invention patent application after publication |