CN106303692A - Video loading method and device - Google Patents
Video loading method and device Download PDFInfo
- Publication number
- CN106303692A CN106303692A CN201610703434.7A CN201610703434A CN106303692A CN 106303692 A CN106303692 A CN 106303692A CN 201610703434 A CN201610703434 A CN 201610703434A CN 106303692 A CN106303692 A CN 106303692A
- Authority
- CN
- China
- Prior art keywords
- video
- play
- frame
- video data
- player
- 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/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/44008—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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- 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/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Abstract
The embodiment of the invention discloses a kind of video loading method and device, relate to multimedia technology field, described method includes: the background frame loading interface of player is set to non-black screen video picture;Described non-black screen video picture is removed, to avoid loading procedure occurs blank screen according to Preset Time.The embodiment of the present invention is by being set to non-black screen video picture by the background frame loading interface of player, and removes described non-black screen video picture according to Preset Time, it is possible to avoid blank screen occur in video loading procedure.
Description
Technical field
The present embodiments relate to multimedia technology field, particularly relate to a kind of video loading method and device.
Background technology
Along with improving constantly of intelligent terminal hardware performance, main flow intelligent terminal (such as, smart mobile phone) can now
Shooting and broadcasting 2K, 4K video.Higher yet with 2K, 4K video bitrate, it is such that player needs a period of time to load
Video plays out.During this period of time general player generally use display as shown in Figure 1 just in the mode of load information.
Inventor finds in the research process carrying out the present invention, and display as shown in Figure 1 is just in the mode of load information
There is multiple shortcoming: time between when loaded less than 1 second, blank screen interface of flashing when commencing play out, this behavior shows slightly lofty;When adding
When the load time was more than 1 second, owing to the load time is long, the only information of display " loading " etc, it is clear that quantity of information is very little
And dull, it is impossible to meet user's request.
Summary of the invention
The present invention provides a kind of video loading method and device, to avoid blank screen occur during video loads.
First aspect, embodiments provides a kind of video loading method, including:
The background frame loading interface of player is set to non-black screen video picture;
Described non-black screen video picture is removed, to avoid loading procedure occurs blank screen according to Preset Time.
Further, remove described non-black screen video picture according to Preset Time, including:
Obtain removing described loading interface according to equation below and the opportunity of video pictures that background shows:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent parsing
In described video to be played, the first frame plays the time needed for video and needed for ShowFrame represents that rendering the first frame plays video
Time;
According to the video pictures removing described loading interface described time delay and background shows.
Further, according to the video pictures removing described loading interface described time delay and background shows, including:
Detect player complete the first frame video data to be play send message informing when rendering work after, etc.
Described loading interface is removed again and video pictures that background shows after described time delay.
Further, obtain non-black screen video picture, including:
When detecting that terminal storage has new video data, resolve described video data and obtain one-frame video data,
As described non-black screen video picture.
Further, obtain non-black screen video picture, including:
The history obtaining video to be played plays record;
Described history is play the last frame video data in record as described non-black screen video picture.
Further, described method also includes:
Detecting when described player exits broadcasting, the last frame video data play when will move out broadcasting is stored in this
Ground;
Or, if all video datas all finish when exiting broadcasting, then play position is set to 0.
Further, the background frame loading interface of player is set to video pictures corresponding to described broadcasting frame
Video loading procedure, including:
Initialize SurfaceView process, initialize player simultaneously and/or load the video data that the first frame is to be play
Process, so that described player resolves described first frame video data to be play, and initializing decoder, to play described the
The video data that one frame is to be play.
Second aspect, the embodiment of the present invention additionally provides a kind of video charger, including:
Background arranges module, for the background frame loading interface of player is set to non-black screen video picture;
Background removal module, for removing described non-black screen video picture according to Preset Time, to avoid in loading procedure
Blank screen occurs.
Further, described background removal module includes:
Time delay computing unit, for the video obtaining removing described loading interface according to equation below and background shows
The opportunity of picture:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent parsing
In described video to be played, the first frame plays the time needed for video and needed for ShowFrame represents that rendering the first frame plays video
Time;
Background removal unit, for according to the video picture removing described loading interface described time delay and background show
Face.
Further, described background removal unit specifically for, detecting that player completes to be play the regarding of the first frame
Frequency evidence send message informing when rendering work after, remove described loading interface and background after waiting described time delay again and show
The video pictures shown.
Further, described method also includes:
First acquisition module, for when detecting that terminal storage has new video data, resolves described video data and obtains
Take one-frame video data, as described non-black screen video picture.
Further, described method also includes:
Second acquisition module, plays record for obtaining the history of video to be played;Described history is play in record
Last frame video data is as described non-black screen video picture.
Further, described device also includes:
Broadcasting arranges module, is used for detecting when described player exits broadcasting, play when will move out broadcasting last
Frame video data is stored in this locality;Or, if all video datas all finish when exiting broadcasting, then play position is set
It is set to 0.
Further, described device also includes:
Video load-on module, is used for initializing SurfaceView process, initializes player simultaneously and/or load first
The video data process that frame is to be play, so that described player resolves the video data that described first frame is to be play, and initializes
Decoder, status control module described in the video data to be play to play described first frame specifically for, according to described currently
The scene that location recognition user is presently in;Setting state is entered according to terminal described in the described scenery control being presently in.
The embodiment of the present invention is by being set to non-black screen video picture, and root by the background frame loading interface of player
Described non-black screen video picture is removed, it is possible to avoid, in video loading procedure, blank screen occurs according to Preset Time.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of video loading method in the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of video loading method in the embodiment of the present invention two;
Fig. 3 A is the flow chart of a kind of video loading method in the embodiment of the present invention three;
Fig. 3 B is the video loading procedure schematic diagram in a kind of video loading method in the embodiment of the present invention three;
Fig. 3 C is the time rendered with parsing the time delay in a kind of video loading method in the embodiment of the present invention three
Relation schematic diagram;
Fig. 4 A is the flow chart of a kind of video loading method in the embodiment of the present invention four;
Fig. 4 B is that the player plays list display interface in a kind of video loading method in the embodiment of the present invention four is shown
It is intended to;
Fig. 4 C is the background that the player video in a kind of video loading method in the embodiment of the present invention four loads interface
Page display schematic diagram;
Fig. 5 is the structure chart of a kind of video charger in the embodiment of the present invention five.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention is illustrate only rather than entire infrastructure in description, accompanying drawing.
Embodiment one
The flow chart of a kind of video loading method that Fig. 2 provides for the embodiment of the present invention one, the present embodiment is applicable to broadcast
Putting the situation that device occurs in video loads without blank screen, the video charger that the method can be provided by the embodiment of the present invention comes
Performing, this device can use the mode of software or hardware to realize, and this video charger can be integrated in player, such as Fig. 2 institute
Show, specifically include:
S101, by player load interface background frame be set to non-black screen video picture.
Wherein, described non-black screen video picture can be but be not limited to the propagating poster of video to be played, brief introduction, flower
Wadding, the related product advertisement of video to be played, the related person introduction of video to be played, the user comment information of video to be played
And browse, according to video to be played or user, other video informations that record is recommended.
S102, remove described non-black screen video picture according to Preset Time, to avoid loading procedure occurs blank screen.
Wherein, described Preset Time can be empirical value, or by calculated numerical value.
The present embodiment is by being set to non-black screen video picture, and according in advance by the background frame loading interface of player
If the time removes described non-black screen video picture, it is possible to avoid, in video loading procedure, blank screen occurs.
On the basis of above-described embodiment, remove described non-black screen video picture according to Preset Time, including:
Obtain removing described loading interface according to equation below and the opportunity of video pictures that background shows:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent parsing
In described video to be played, the first frame plays the time needed for video and needed for ShowFrame represents that rendering the first frame plays video
Time;
According to the video pictures removing described loading interface described time delay and background shows.
On the basis of above-described embodiment, according to the video removing described loading interface described time delay and background shows
Picture, including:
Detect player complete the first frame video data to be play send message informing when rendering work after, etc.
Described loading interface is removed again and video pictures that background shows after described time delay.
On the basis of above-described embodiment, obtain non-black screen video picture, including:
When detecting that terminal storage has new video data, resolve described video data and obtain one-frame video data,
As described non-black screen video picture.
On the basis of above-described embodiment, obtain non-black screen video picture, including:
The history obtaining video to be played plays record;
Described history is play the last frame video data in record as described non-black screen video picture.
On the basis of above-described embodiment, described method also includes:
Detecting when described player exits broadcasting, the last frame video data play when will move out broadcasting is stored in this
Ground;
Or, if all video datas all finish when exiting broadcasting, then play position is set to 0.
On the basis of above-described embodiment, the background frame loading interface of player is set to described broadcasting frame corresponding
The video loading procedure of video pictures, including:
Initialize SurfaceView process, initialize player simultaneously and/or load the video data that the first frame is to be play
Process, so that described player resolves described first frame video data to be play, and initializing decoder, to play described the
The video data that one frame is to be play.
Above-described embodiment by the background frame loading interface of player is set to non-black screen video picture, and according to
Preset Time removes described non-black screen video picture, it is possible to avoid blank screen occur in video loading procedure.
Embodiment two
The flow chart of a kind of video loading method that Fig. 3 A provides for the embodiment of the present invention two, the present embodiment is in above-mentioned enforcement
On the basis of example, described remove described non-black screen video picture according to Preset Time, be chosen as being removed according to equation below
The opportunity of the video pictures that described loading interface and background show, according to removing described loading interface and background described time delay
The video pictures of display.As shown in Figure 3A, specifically include:
S201, by player load interface background frame be set to non-black screen video picture.
S202, obtain removing described loading interface according to equation below and the opportunity of video pictures that background shows.
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent parsing
In described video to be played, the first frame plays the time needed for video and needed for ShowFrame represents that rendering the first frame plays video
Time.
S203, according to the video pictures removing described loading interface described time delay and background shows, to avoid loading
During blank screen occurs.
Concrete, video is generally divided into 2 stages from clicking to commence play out: APP initial phase and video load
Stage.Wherein video load phase can be subdivided into:
(1) InitSurface initializes the SurfaceView stage;
(2) InitMediaPlayer initializes MediaPlayer and loads the video file stage;
(3) Prepare MediaPlayer resolves the assembly stages such as video file, and initializing decoder;
(4) ShowFrame has commenced play out the rendering stage of the first two field picture from MediaPlayer;
Wherein InitSurface and InitMediaPlayer can be with executed in parallel, InitMediaPlayer, Prepare
Must order perform with ShowFrame.As shown in Figure 3 B be the MSM8994 platform gunter of playing certain 4k each stage of video
Figure, wherein transverse axis unit of time is the second.
Player startup stage show non-black screen video picture, remove at ShowFrame ending non-black screen video draw
Face.In the ShowFrame stage, message informing can be sent when rendering work when what MediaPlayer completed the first two field picture, tell
Upper layer application will commence play out.If removing thumbnail when sending this notice, then find that blank screen interface can flash,
The opportunity that this explanation removes thumbnail is too early.Find that message informing shows to video image by analysis and there is certain prolonging
Time, the factor affecting this blank screen time delay length includes handset capability, video complexity, this and the factor phase affecting the blank screen time
With, therefore the embodiment of the present invention thinks that the two exists inevitable contact.Based on this, when this enforcement devises based on the blank screen time
Prolong the design of its function of function as follows:
Delay=max (κ, Duration)
Wherein, Delay represent represent time delay, α empirical coefficient, BlackDuration represent the blank screen time,
InitTime represents that player starts to MediaPlayer and completes the time of setDataSource.In whole blank screen time delay and
APP completes every initial work, and it doesn't matter, and relevant is to resolve video and render the time needed for image, it may be assumed that Prepare
+ ShowFrame=BlackDuration InitTime, the most above-mentioned formula is converted into equation below:
Delay=max (κ, Duration)
When play certain damage video, be likely to result in video resolve the time significantly lengthen, but the damage of video whether will not
Blank screen time delay, therefore the present embodiment is that it sets upper limit κ.As shown in Figure 3 C, it is when α=2, puts down at MSM8994 during κ=200
The video that completes of the various resolution video of platform resolves and renders time and the broken line graph of blank screen time delay of cost.
Concrete, the present embodiment is detecting that player completes sending out when rendering work of the first frame video data to be play
After outbound message notice, remove described loading interface after waiting described time delay again and video pictures that background shows.
The present embodiment is by being calculated time delay, and according to removing described loading interface and background described time delay
The video pictures of display, it is possible to avoid, in video loading procedure, blank screen occurs.
Embodiment three
The flow chart of a kind of video loading method that Fig. 4 A provides for the embodiment of the present invention three, the present embodiment is in above-mentioned enforcement
On the basis of example two, optionally, the history farther including to obtain video to be played plays record;Described history is play record
In last frame video data as described non-black screen video picture.As shown in Figure 4 A, specifically include:
S301, obtain video to be played history play record.
S302, by described history play record in last frame video data be set to player load interface the back of the body
Scape picture.
Concrete, player exists 2 pages, as shown in Figure 4 B, one is the playlist page, such as Fig. 4 C institute
Showing, another is to play the page.The history broadcast information of each video that the playlist page shows, including video thumbnails,
Duration, play history record information.When player commences play out certain video, can be at the background frame loading interface of player
The broadcasting pictures of display video, this broadcasting pictures is the broadcasting pictures of the first two field picture that will present to user, such as user
It was played to the position of the 11st second last time, then can first show the broadcasting pictures of the 11st second video image when this video of secondary broadcasting,
Then commenced play out at the 11st second after video loaded.
S303, remove described non-black screen video picture according to Preset Time, to avoid loading procedure occurs blank screen.
The present embodiment is set to play by the history of video to be played is play the last frame video data in record
The background frame loading interface of device, and according to the video picture removing described loading interface described time delay and background show
Face, it is possible to ensure seamlessly transitting of playing process, and avoid, in video loading procedure, blank screen occurs.
Embodiment four
Fig. 5 show the structural representation of a kind of video charger that the embodiment of the present invention four provides, and this device can be adopted
Realizing by the mode of software or hardware, this video charger can be integrated in player, as it is shown in figure 5, this device is concrete
Structure is as follows: background arranges module 51 and background removal module 52.
Described background arranges module 51 and draws for the background frame loading interface of player is set to non-black screen video
Face;
Described background removal module 52 is for removing described non-black screen video picture according to Preset Time, to avoid loading
Journey occurs blank screen.
Video charger described in the present embodiment is for performing the video loading method described in the various embodiments described above, its skill
Art principle is similar with the technique effect of generation, repeats no more here.
On the basis of above-described embodiment, described background removal module 52 includes: time delay computing unit 521 and background
Remove unit 522.
Described time delay, computing unit 521 was for obtaining removing described loading interface according to equation below and background shows
Opportunity of video pictures:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent parsing
In described video to be played, the first frame plays the time needed for video and needed for ShowFrame represents that rendering the first frame plays video
Time;
Described background removal unit 522 is for according to removing described loading interface described time delay and background shows regards
Frequently picture.
On the basis of above-described embodiment, described background removal unit 522 specifically for, detecting that player completes
The video data that one frame is to be play send message informing when rendering work after, remove again after waiting described time delay described in add
The video pictures that load interface and background show.
On the basis of above-described embodiment, described device also includes: the first acquisition module 53.
Described first acquisition module 53, for when detecting that terminal storage has new video data, resolves described video counts
According to obtaining one-frame video data, as described non-black screen video picture.
On the basis of above-described embodiment, described device also includes: the second acquisition module 54.
Described second acquisition module 54 plays record for the history obtaining video to be played;Described history is play record
In last frame video data as described non-black screen video picture.
On the basis of above-described embodiment, described device also includes: plays and arranges module 55.
When described broadcasting arranges module 55 for detecting that described player exits broadcasting, play when will move out broadcasting
A later frame video data is stored in this locality;Or, if all video datas all finish when exiting broadcasting, then will play position
Install and be set to 0.
On the basis of above-described embodiment, also include: video load-on module 56.
Described video load-on module 56 is used for initializing SurfaceView process, initializes player and/or loading simultaneously
The video data process that first frame is to be play, so that the video data that described player described first frame of parsing is to be play, and just
Beginning decoders, the video data to be play to play described first frame.
Video charger described in above-described embodiment is used for the video loading method performed described in the various embodiments described above, its
Know-why is similar with the technique effect of generation, repeats no more here.
The embodiment of the present invention also provides for a kind of storage medium comprising computer executable instructions, and described computer can perform
Instruction is used for when being performed by computer processor performing a kind of video loading method, and the method includes:
The background frame loading interface of player is set to non-black screen video picture;
Described non-black screen video picture is removed, to avoid loading procedure occurs blank screen according to Preset Time.
Optionally, this computer executable instructions can be also used for when being performed by computer processor perform the present invention appoint
The technical scheme of the video loading method that meaning embodiment is provided.
By the description above with respect to embodiment, those skilled in the art it can be understood that arrive, the present invention
Can realize by software and required common hardware, naturally it is also possible to realized by hardware, but a lot of in the case of the former is more
Good embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, and this computer software product can be stored in computer-readable recording medium
In, such as the floppy disk of computer, read only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer sets
Standby (can be personal computer, server, or the network equipment etc.) performs the method described in each embodiment of the present invention.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to setting embodiment described here, can carry out for a person skilled in the art various obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example, the present invention is carried out
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (14)
1. a video loading method, it is characterised in that including:
The background frame loading interface of player is set to non-black screen video picture;
Described non-black screen video picture is removed, to avoid loading procedure occurs blank screen according to Preset Time.
Method the most according to claim 1, it is characterised in that remove described non-black screen video picture according to Preset Time,
Including:
Obtain removing described loading interface according to equation below and the opportunity of video pictures that background shows:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent that parsing is described
In video to be played first frame play the time needed for video and ShowFrame represent render the first frame play needed for video time
Between;
According to the video pictures removing described loading interface described time delay and background shows.
Method the most according to claim 2, it is characterised in that according to removing described loading interface and the back of the body described time delay
The video pictures that scape shows, including:
Detect player complete the first frame video data to be play send message informing when rendering work after, wait institute
Described loading interface is removed again and video pictures that background shows after stating time delay.
4. according to the method described in any one of claims 1 to 3, it is characterised in that obtain non-black screen video picture, including:
When detecting that terminal storage has new video data, resolve described video data and obtain one-frame video data, as
Described non-black screen video picture.
5. according to the method described in any one of claims 1 to 3, it is characterised in that obtain non-black screen video picture, including:
The history obtaining video to be played plays record;
Described history is play the last frame video data in record as described non-black screen video picture.
6. according to the method described in any one of claims 1 to 3, it is characterised in that also include:
Detecting when described player exits broadcasting, the last frame video data play when will move out broadcasting is stored in this locality;
Or, if all video datas all finish when exiting broadcasting, then play position is set to 0.
7. according to the method described in any one of claims 1 to 3, it is characterised in that by the background painting loading interface of player
Face is set to the video loading procedure of video pictures corresponding to described broadcasting frame, including:
Initialize SurfaceView process, initialize player simultaneously and/or load the video data mistake that the first frame is to be play
Journey, so that described player resolves the video data that described first frame is to be play, and initializing decoder, to play described first
The video data that frame is to be play.
8. a video charger, it is characterised in that including:
Background arranges module, for the background frame loading interface of player is set to non-black screen video picture;
Background removal module, for removing described non-black screen video picture according to Preset Time, to avoid occurring in loading procedure
Blank screen.
Device the most according to claim 8, it is characterised in that described background removal module includes:
Time delay computing unit, for the video pictures obtaining removing described loading interface according to equation below and background shows
Opportunity:
Delay=max (κ, Duration)
Wherein, Delay represents and represents time delay, α that empirical coefficient, κ are that the Preset Time upper limit, Prepare represent that parsing is described
In video to be played first frame play the time needed for video and ShowFrame represent render the first frame play needed for video time
Between;
Background removal unit, for according to the video pictures removing described loading interface described time delay and background shows.
Device the most according to claim 9, it is characterised in that described background removal unit specifically for, broadcast detecting
Put device complete the first frame video data to be play send message informing when rendering work after, wait after described time delay again
Remove described loading interface and video pictures that background shows.
11. devices according to Claim 8~described in 10 any one, it is characterised in that also include:
First acquisition module, for when detecting that terminal storage has new video data, resolves described video data and obtains the
One-frame video data, as described non-black screen video picture.
12. devices according to Claim 8~described in 10 any one, it is characterised in that also include:
Second acquisition module, plays record for obtaining the history of video to be played;By described history play record in last
One-frame video data is as described non-black screen video picture.
13. devices according to Claim 8~described in 10 any one, it is characterised in that also include:
Broadcasting arranges module, is used for detecting when described player exits broadcasting, and the last frame play when will move out broadcasting regards
Frequency is according to being stored in this locality;Or, if all video datas all finish when exiting broadcasting, then play position is set to
0。
14. devices according to Claim 8~described in 10 any one, it is characterised in that also include:
Video load-on module, is used for initializing SurfaceView process, initializes player simultaneously and/or loading the first frame is wanted
The video data process play, so that described player resolves the video data that described first frame is to be play, and initializes decoding
Device, the video data to be play to play described first frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610703434.7A CN106303692A (en) | 2016-08-22 | 2016-08-22 | Video loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610703434.7A CN106303692A (en) | 2016-08-22 | 2016-08-22 | Video loading method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303692A true CN106303692A (en) | 2017-01-04 |
Family
ID=57662166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610703434.7A Pending CN106303692A (en) | 2016-08-22 | 2016-08-22 | Video loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303692A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396193A (en) * | 2017-08-30 | 2017-11-24 | 腾讯科技(深圳)有限公司 | The method and apparatus of video playback |
CN107979774A (en) * | 2017-12-12 | 2018-05-01 | 深圳创维数字技术有限公司 | A kind of starting up of terminal method, terminal and storage medium |
CN108235106A (en) * | 2018-01-31 | 2018-06-29 | 聚好看科技股份有限公司 | A kind of method that video shelter figure is controlled on smart television |
CN109144631A (en) * | 2018-07-19 | 2019-01-04 | Oppo(重庆)智能科技有限公司 | Interface method for drafting, electronic device and computer readable storage medium |
CN110806912A (en) * | 2019-10-30 | 2020-02-18 | Oppo广东移动通信有限公司 | Interface processing method and related equipment |
CN112040298A (en) * | 2020-09-02 | 2020-12-04 | 广州虎牙科技有限公司 | Video playing processing method and device, electronic equipment and storage medium |
CN112637660A (en) * | 2020-12-21 | 2021-04-09 | 四川长虹电器股份有限公司 | Image stabilization method for starting up android television video application |
CN112711367A (en) * | 2020-12-14 | 2021-04-27 | 海看网络科技(山东)股份有限公司 | Method for preventing loaded player from collapsing for web page in IPTV |
CN113194355A (en) * | 2021-04-21 | 2021-07-30 | 青岛海信传媒网络技术有限公司 | Video playing method and display equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325704A (en) * | 2008-07-16 | 2008-12-17 | 中兴通讯股份有限公司 | Method for inter cut medium in handset television |
CN103945258A (en) * | 2013-04-01 | 2014-07-23 | 海信集团有限公司 | Channel switching method and television receiving device |
CN105635844A (en) * | 2016-01-12 | 2016-06-01 | 腾讯科技(深圳)有限公司 | Method and device for playing video in browser |
-
2016
- 2016-08-22 CN CN201610703434.7A patent/CN106303692A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325704A (en) * | 2008-07-16 | 2008-12-17 | 中兴通讯股份有限公司 | Method for inter cut medium in handset television |
CN103945258A (en) * | 2013-04-01 | 2014-07-23 | 海信集团有限公司 | Channel switching method and television receiving device |
CN105635844A (en) * | 2016-01-12 | 2016-06-01 | 腾讯科技(深圳)有限公司 | Method and device for playing video in browser |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396193A (en) * | 2017-08-30 | 2017-11-24 | 腾讯科技(深圳)有限公司 | The method and apparatus of video playback |
CN107979774A (en) * | 2017-12-12 | 2018-05-01 | 深圳创维数字技术有限公司 | A kind of starting up of terminal method, terminal and storage medium |
CN107979774B (en) * | 2017-12-12 | 2020-12-08 | 深圳创维数字技术有限公司 | Terminal starting method, terminal and storage medium |
CN108235106A (en) * | 2018-01-31 | 2018-06-29 | 聚好看科技股份有限公司 | A kind of method that video shelter figure is controlled on smart television |
CN108235106B (en) * | 2018-01-31 | 2020-10-30 | 聚好看科技股份有限公司 | Method for controlling video occlusion map on smart television and smart television |
CN109144631A (en) * | 2018-07-19 | 2019-01-04 | Oppo(重庆)智能科技有限公司 | Interface method for drafting, electronic device and computer readable storage medium |
CN110806912B (en) * | 2019-10-30 | 2024-01-30 | Oppo广东移动通信有限公司 | Interface processing method and related equipment |
CN110806912A (en) * | 2019-10-30 | 2020-02-18 | Oppo广东移动通信有限公司 | Interface processing method and related equipment |
CN112040298A (en) * | 2020-09-02 | 2020-12-04 | 广州虎牙科技有限公司 | Video playing processing method and device, electronic equipment and storage medium |
CN112711367A (en) * | 2020-12-14 | 2021-04-27 | 海看网络科技(山东)股份有限公司 | Method for preventing loaded player from collapsing for web page in IPTV |
CN112711367B (en) * | 2020-12-14 | 2022-09-06 | 海看网络科技(山东)股份有限公司 | Method for preventing loaded player from crashing through web page in IPTV |
CN112637660A (en) * | 2020-12-21 | 2021-04-09 | 四川长虹电器股份有限公司 | Image stabilization method for starting up android television video application |
CN113194355A (en) * | 2021-04-21 | 2021-07-30 | 青岛海信传媒网络技术有限公司 | Video playing method and display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303692A (en) | Video loading method and device | |
CN107018443B (en) | Video recording method and device and electronic equipment | |
CN111447505B (en) | Video clipping method, network device, and computer-readable storage medium | |
US20140344751A1 (en) | Image Processing Method and Terminal Device | |
CN110267113B (en) | Video file processing method, system, medium, and electronic device | |
US8340351B2 (en) | Method and apparatus for eliminating unwanted objects from a streaming image | |
EP2833280A2 (en) | Method for automatically storing new media | |
CN111695422B (en) | Video tag acquisition method and device, storage medium and server | |
CN107318038B (en) | Method for synchronizing video playing and comment, terminal equipment and storage medium | |
US11930058B2 (en) | Skipping the opening sequence of streaming content | |
KR101991188B1 (en) | Promotion information processing method, device, and apparatus, and non-volatile computer storage medium | |
CN109086105B (en) | Page layout conversion method and device and electronic equipment | |
CN106412634A (en) | Media file pushing method, media file server and media file pushing system | |
CN106911959B (en) | Voice picture reading method and system based on smart television | |
CN106331479B (en) | Video processing method and device and electronic equipment | |
CN104244101A (en) | Method and device for commenting multimedia content | |
CN103731737B (en) | A kind of video information update method and electronic equipment | |
CN113727170A (en) | Video interaction method, device, equipment and medium | |
CN103442299A (en) | Display method for playing records and electronic equipment | |
CN104093084A (en) | Method and apparatus for playing video | |
CN112601127A (en) | Video display method and device, electronic equipment and computer readable storage medium | |
CN104601535A (en) | Video processing method and system | |
CN109714626B (en) | Information interaction method and device, electronic equipment and computer readable storage medium | |
CN108769806B (en) | Media content display method and device | |
WO2014110055A1 (en) | Mixed media communication |
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: 20170104 |
|
WD01 | Invention patent application deemed withdrawn after publication |