CN108769816A - A kind of video broadcasting method, device and storage medium - Google Patents
A kind of video broadcasting method, device and storage medium Download PDFInfo
- Publication number
- CN108769816A CN108769816A CN201810401575.2A CN201810401575A CN108769816A CN 108769816 A CN108769816 A CN 108769816A CN 201810401575 A CN201810401575 A CN 201810401575A CN 108769816 A CN108769816 A CN 108769816A
- Authority
- CN
- China
- Prior art keywords
- video
- data
- playing
- display
- screen
- 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.)
- Granted
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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of video broadcasting method, device and storage mediums;The embodiment of the present invention can include the video identifier information of at least one video in screen display video play lists, the video play lists;When detecting that the display for video play lists updates operation, display of the operation update video play lists in screen is updated according to display;During video play lists are updated and shown, when detecting that the stop of screen shows event, video playing address corresponding to the target video identification information that currently shows of screen is obtained;When needing to play video corresponding to target video identification information, video playing is carried out according to the video playing address of acquisition.The load that the program can reduce video playing takes, and promotes the startup speed of net cast.
Description
Technical field
The present invention relates to direct seeding technique fields, and in particular to a kind of video broadcasting method, device and storage medium.
Background technology
With the continuous development of network technology, net cast is increasingly liked by user;Net cast refers to utilizing
Internet and stream media technology are broadcast live, and video is because having merged the abundant element such as image, word, sound, excellent both in sound and shape, effect
It is splendid, it is increasingly becoming the mainstream expression way of internet.
However, current net cast technology when starting video playing, needs consuming longer time just to start to play
Video data reduces the startup speed of net cast.
Invention content
A kind of video broadcasting method of offer of the embodiment of the present invention, device and storage medium, can promote opening for net cast
Dynamic speed.
The embodiment of the present invention provides a kind of video broadcasting method, including:
In screen display video play lists, the video play lists include the video identifier letter of at least one video
Breath;
When detecting that the display for the video play lists updates operation, operation update is updated according to the display
Display of the video play lists in the screen;
During the video play lists are updated and are shown, when detecting that the stop of the screen shows event,
Obtain video playing address corresponding to target video identification information that the screen is currently shown;
When needing to play video corresponding to target video identification information, carried out according to the video playing address of acquisition
Video playing.
Correspondingly, the embodiment of the present invention also provides a kind of video play device, including:
Display unit, in screen display video play lists, the video play lists to include at least one video
Video identifier information;
Updating unit, for when detecting that the display for the video play lists updates operation, being shown according to described
Show that update operation updates display of the video play lists in the screen;
Address acquisition unit, for during the video play lists are updated and shown, when detecting the screen
Stop when showing event, obtain video playing address corresponding to target video identification information that the screen is currently shown;
Broadcast unit, for when needing to play video corresponding to target video identification information, being regarded according to described in acquisition
Frequency broadcast address carries out video playing.
Correspondingly, the embodiment of the present invention also provides a kind of storage medium, the storage medium is stored with instruction, described instruction
The step of method of any offer of the embodiment of the present invention is provided when being executed by processor.
The embodiment of the present invention is used in screen display video play lists, which includes at least one video
Video identifier information;When detecting that the display for video play lists updates operation, operation update is updated according to display
Display of the video play lists in screen;During video play lists are updated and shown, when the stop for detecting screen
When display event, video playing address corresponding to the target video identification information that currently shows of screen is obtained;When need play mesh
When marking the corresponding video of video identifier information, video playing is carried out according to the video playing address of acquisition.The program can regarding
Frequency obtains the broadcast address of video before playing, can directly be carried out according to the broadcast address of acquisition when subsequently playing the video again
Video playing;Therefore, the load that can reduce video playing takes, and promotes the startup speed of net cast.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 a are the schematic diagram of a scenario of live broadcast system provided in an embodiment of the present invention;
Fig. 1 b are another schematic diagram of a scenario of live broadcast system provided in an embodiment of the present invention;
Fig. 2 a are the flow diagrams of video broadcasting method provided in an embodiment of the present invention;
Fig. 2 b are live streaming interface schematic diagrams provided in an embodiment of the present invention;
Fig. 2 c are the schematic diagrames of dragging playlist provided in an embodiment of the present invention;
Fig. 2 d are the schematic diagrames provided in an embodiment of the present invention for refreshing playlist;
Fig. 3 a are the schematic diagrames that conventional video plays;
Fig. 3 b are that live streaming address provided in an embodiment of the present invention preloads schematic diagram;
Fig. 4 a are data playback flow diagrams provided in an embodiment of the present invention;
Fig. 4 b are another flow diagrams of data playback provided in an embodiment of the present invention;
Fig. 5 a are another flow diagrams of video broadcasting method provided in an embodiment of the present invention;
Fig. 5 b are video loading page schematic diagrames provided in an embodiment of the present invention;
Fig. 6 a are the first structural schematic diagrams of video play device provided in an embodiment of the present invention;
Fig. 6 b are second of structural schematic diagrams of video play device provided in an embodiment of the present invention;
Fig. 6 c are the third structural schematic diagrams of video play device provided in an embodiment of the present invention;
Fig. 6 d are the 4th kind of structural schematic diagrams of video play device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of video broadcasting method, device and storage mediums.
An embodiment of the present invention provides a kind of live broadcast system, which may include any that the embodiment of the present invention is provided
Kind video play device.The video play device can integrate in the terminal.In addition, the live broadcast system can also be set including other
It is standby, for example, server etc..
For example, with reference to Fig. 1 a, a kind of live broadcast system is provided, which includes:Terminal 10, address server 20 with
And data server 40;For address server 20 with terminal 10 by network connection, data server 40 passes through network with terminal 10
Connection.Wherein, network includes router, gateway etc. network entity, in figure and to illustrate.
Wherein, address server 20 provides video playing address for managing video playing address, and for terminal 10;Data
Server 40 provides audio, video data for storing audio, video data, and for terminal 10;Address server 20 and data server
40 can carry out data interaction by cable network or wireless network with terminal 10.Address server 20 and data server 40 collect
At being realized by an equipment such as server together, can also be provided separately.
Wherein, terminal 10 can be used for obtaining video playing address, and downloads corresponding sound according to video playing address and regard
According to playing out, which can be connect with address server 20, data server 40 frequency respectively by network.The terminal
10 can be the equipment such as mobile phone, tablet computer, laptop, wearable device, and Fig. 1 a are so that terminal 10 is mobile phone as an example.It should
It is also equipped with the various applications needed for user in terminal 10, for example has the application of amusement function (such as live streaming application, audio
Play application, game application, ocr software), for another example have service function application (such as digital map navigation application, purchase by group application
Deng).
In another example with reference to figure 1b, another live broadcast system is provided, which includes:The recording end of recorded video
11, it connects streaming server 12, Distributor 13, content distributing network (Content Delivery Network, CDN) 14, broadcast
Put broadcasting end 15, the Redirect Server 16 etc. of video.Wherein, content distributing network includes multistage CDN server.
Wherein, end 11 is recorded, is used for recording audio/video data, and the audio and video number recorded is uploaded to streaming server 12 is connect
According to, the recording end 11 can with connect streaming server 12 by network connection, which, which can be terminal etc., has audio and video
The equipment of recording function, for example, can be mobile phone, tablet computer, laptop, wearable device etc..
Streaming server 12 is connect, for receiving the audio, video data recorded end 11 and uploaded, and audio, video data is converted into flowing
Then audio and video data streams are sent to Distributor 13 by the audio and video data streams of media format;Connecing streaming server 12 can be with
Between recording end 11, Distributor 13, and it is connect respectively with recording end 11, Distributor 13.
Specifically, the audio and video data streams received are distributed to for distributing audio and video data streams for Distributor 13
Corresponding CDN server in CDN network;Distributor 13 is connect with the CDN server in CDN network respectively.
CDN server 14 is located in CDN network, for being distributed to the audio and video data streams received, specifically,
Audio and video data streams are distributed to corresponding subordinate's CDN server.Each CDN server is connected using cascade mode in CDN network
It connects.
Redirect Server 16 for managing video playing address, and responds and plays the Address requests that end 15 plays end 15,
Video playing address is provided to end 15 is played.Redirect Server 16 can be located at except CDN network, and connect with end 15 is played
It connects.
End 15 is played, for obtaining video playing address from Redirect Server 16, is taken from CDN according to video playing address
Business device downloads corresponding audio, video data, and is played out to audio, video data.The broadcasting end 15 can respectively with CDN service
Device 14, Redirect Server 16 connect.The broadcasting end 15 can be the equipment with audio and video playing function such as terminal, for example,
Can be mobile phone, tablet computer, laptop, wearable device etc..
The example of above-mentioned Fig. 1 a and Fig. 1 b is a system architecture example for realizing the embodiment of the present invention, and the present invention is implemented
Example is not limited to system structure shown in above-mentioned Fig. 1 a or Fig. 1 b, is based on the system architecture, proposes each embodiment of the present invention.
In one embodiment, a kind of video broadcasting method is provided, can be executed by the processor of terminal, such as Fig. 2 a institutes
Show, which includes:
201, in screen display video play lists, which includes the video identifier letter of at least one video
Breath.
Wherein, video play lists may include the video identifier information of one or more video.The video identifier is believed
Breath may include:The title of video, the Periodical front cover information (such as cover picture) of video, main broadcaster's information (such as main broadcaster's title)
Deng.
Wherein, video play lists can be shown in the form of the page in screen, for example, with reference to figure 2b, can shielded
Show live page in curtain, which includes video play lists, current video broadcasting may include video a, video b,
The video identifier information (such as title, cover picture and main broadcaster's title) of video c and video d.
202, when detecting that the display for video play lists updates operation, operation more new video is updated according to display
Display of the playlist in screen.
Wherein, display update operation can be set according to actual demand, for example, may include drag operation, slide,
Clicking operation, pressing operation, shake operation etc..
In one embodiment, updating display of the video play lists in screen may include:It will be in video play lists
Do not show that video identifier information is shown in screen.For example, step " updates operation update video play lists to exist according to display
Display in screen " may include:
Being determined from video play lists according to display update operation needs target video identification information to be shown;
The display target video identifier information in screen.
For example, the video identifier information of new video can be chosen from video play lists, i.e., never show that video identifier is believed
Being determined in breath needs video identifier information to be shown etc..The new video is the current video for not showing identification information.
Wherein, there are many modes that the determining target video identification information of operation is updated according to display, for example, can be according to aobvious
Show the operating parameter of update operation to determine, such as based on operating distance, operation duration.For example, when operating as drag operation
When, it can be determined in the parameters such as final position based on the corresponding dragging distance of drag operation, dragging duration, dragging.
For example, video play lists include the video of video a, video b, video c, video d, video e, video f, video g
Identification information;With reference to figure 2b, when beginning, shows the video identifier information of video a, video b, video c, video d in screen;When
When user carries out the drag operation such as upward dragging page on the screen, terminal can determine that the video identifier information of video e, f exist
It is shown in screen, with reference to figure 2c, the video identifier information of the video e, f is shown in current screen.For user perspective, use
Family, which executes the dragging page upwards, can show the video information of new video in video play lists.
In one embodiment, updating display of the video play lists in screen may include:To video play lists into
Row update, and updated video play lists are shown in screen.
For example, the video identifier information of new video can be obtained from server, according to the video identifier information pair of new video
Current video playlist is updated, and updated video play lists are shown in screen.
For example, video play lists include video a, video b, video c, video d;With reference to figure 2b and Fig. 2 d, when beginning
The video identifier information of video a, video b, video c, video d are shown in screen;When user carries out drag operation such as on the screen
When pulling the page downwards, terminal can from the video identifier information of server pull new video, as video e, video f, video g,
The video identifier information of video h;Then, current video play lists are updated, at this point, video play lists include:Video e,
The video identifier information of video f, video g, video h;And updated video play lists are shown in screen.
For user perspective, user executes the video information for pulling the page, that is, refreshable screen display downwards.
203, it during video play lists are updated and shown, when detecting that the stop of screen shows event, obtains
Video playing address corresponding to target video identification information that screen is currently shown.
For example, the video playing that the target video identification information that can be currently shown from address server acquisition screen is corresponding
Address.
Wherein, it is during video play lists are updated and shown to stop display event, and it is aobvious that screen stops certain time
Show the event of content, for example, the time can set according to actual demand, for example, 2s etc..
For example, during video play lists are updated and shown, stops and show for current video identification information screen
2s is then triggered and is stopped display event.
Wherein, address server can provide the server of video playing address, for example, can be the weight in live broadcast system
Orient server 16, the live broadcast system with reference to shown in figure 1b.
Wherein, video playing address can be video playing URL (Uniform Resource Locator, unified resource
Finger URL), for example, may include CDN server address.
For example, with reference to figure 2c, when repeatedly (i.e. user repeatedly pulls played column to dragging video play lists to user upwards upwards
Table) when, terminal repeatedly updates the video identifier information in display video play lists based on drag operation in screen, it is assumed that
When the video identifier information of the screen display video e, f, user stops drag operation, and screen display 2s (second, second) is used afterwards
Family continues drag operation, at this point, terminal detects the display event that stops, terminal can be obtained from address server video a,
B, the video playing address of e, f.
For another example, with reference to figure 2d, when the multiple drag down video play lists of user, terminal can be constantly to video
Playlist is updated display (namely user repeatedly pulls down refreshing video playlist), it is assumed that in screen display video e, regards
Frequency f, video g, video h video identifier information when, user stops drag operation, and user continues to drag after screen display 2s
Operation, at this point, terminal detects that the display event that stops, terminal can obtain video e from address server, video f, video g, regard
The video identifier information of frequency h.
In one embodiment, in order to promote the more accurately video interested of identification user and save resource, setting
One preset duration, when stopping the corresponding stop display duration of display event more than the preset duration, it is believed that user is to current
The video information of display is interested, and subsequent user may play the video, therefore, it is necessary to the broadcasting of the pre-loaded video
Location.
Specifically, step " obtaining video playing address corresponding to the target video identification information that currently shows of screen ", can
To include:
It obtains and stops the corresponding stop display duration of display event;
When stay time is more than preset duration, it is corresponding to obtain current target video identification information displayed in the screen
Video playing address.
Wherein, preset duration can be set according to actual demand, or be believed according to the behavioural characteristic of the broadcasting video of user
Breath is set, for example, can be 5s etc..
For example, with reference to figure 2c, when repeatedly (i.e. user repeatedly pulls played column to dragging video play lists to user upwards upwards
Table) when, terminal repeatedly updates the video identifier information in display video play lists based on drag operation in screen, it is assumed that
When the video identifier information of the screen display video e, f, user stops drag operation, and user continues to drag after screen display 6s
Dynamic operation, at this point, terminal, which detects, stops display event, and judges to stop and shows that duration 6s is more than preset duration 5s, at this point,
Terminal can obtain the video playing address of video a, b, e, f from address server.
204, it when needing to play video corresponding to target video identification information, is carried out according to the video playing address of acquisition
Video playing.
For example, in one embodiment, when receiving play instruction corresponding to target video identification information, namely determines and need
Video corresponding to target video identification information is played, at this point it is possible to carry out video playing according to the video playing address of acquisition.
Wherein, target video identification information can also include that the video playing of target video links;At this point it is possible to be based on needle
To the trigger action (such as clicking operation) of video playing link, corresponding play instruction is triggered.
Wherein, video playing address can be video playing URL (Uniform Resource Locator, unified resource
Finger URL), for example, may include CDN server address.
For example, can be and right according to the video playing address obtained in advance from corresponding CDN server foradownloaded video data
The video data of download is decoded broadcasting.
Video playing scheme provided in an embodiment of the present invention can obtain the video playing address of video in advance, then, when
Directly video data is obtained when playing the video according to the video playing address got in advance to play out;The program and tradition
Video playing scheme is compared, and the load that can save video playing address takes, and the load for reducing video playing takes, and is promoted
The startup speed of net cast.
For example, by taking live broadcast system shown in Fig. 1 a as an example, using present invention method, terminal 10 can be aobvious in screen
Show that video play lists, video play lists include at least one video identifier information;It is directed to video play lists when detecting
Display update operation when, display of the operation update video play lists in screen is updated according to display;It is arranged in video playing
During table update display, when detecting that the stop of screen shows event, screen is obtained from address server 20 in advance and worked as
Video playing address corresponding to the target video identification information of preceding display;When needing to play, target video identification information is corresponding regards
When frequency, audio, video data video playing is obtained from data server 40 according to the video playing address obtained in advance.Live broadcast system
Middle terminal 10 uses video playing scheme of the embodiment of the present invention, compared with conventional video plays scheme, can save video playing
The load of address takes, and the load for reducing video playing takes, and promotes the startup speed of net cast.
For example, by taking live broadcast system shown in Fig. 1 b as an example, using present invention method, playing end 15 can be in screen
Show video play lists, video play lists include at least one video identifier information;It is arranged for video playing when detecting
When the display update operation of table, display of the operation update video play lists in screen is updated according to display;In video playing
During list update is shown, when detecting that the stop of screen shows event, obtains shield from Redirect Server 16 in advance
Video playing address corresponding to the target video identification information that currently shows of curtain, the i.e. addresses CDN;When need play target video mark
When knowing the corresponding video of information, audio, video data is obtained from CDN server 14 according to the video playing address obtained in advance and is carried out
It plays.End 15 is played in live broadcast system uses video playing scheme of the embodiment of the present invention, it, can compared with conventional video plays scheme
Load to save video playing address takes, and the load for reducing video playing takes, and promotes the startup speed of net cast.
It is traditional video playing scheme with reference to figure 3a, when playing video when the user clicks, the player in terminal needs
It accesses Redirect Server and obtains video playing address, the player video playing address of following up again carries out video playing, wherein
Player, which accesses Redirect Server and obtains the average of address, to be taken as 400ms, and the load of video playing takes larger, starts speed
Degree is slow.
It is video playing scheme provided in an embodiment of the present invention with reference to figure 3b, the program pulls video playing row in user
During table, if having detected the display event that stops, the video playing address of video is obtained in advance, is broadcast when the user clicks
When putting the video of the video playing address obtained, player can be carried out directly according to the video playing address got in advance
Video playing eliminates and accesses the process that server obtains address that redirects, and the load for saving video playing address takes,
The load for reducing video playing takes, to promote the startup speed of net cast.
In one embodiment, in order to promote the fluency and quality of video playing, first video data can also be broadcast
Preparation processing is put, when preparing processing completion, according to the video playing address foradownloaded video data got in advance, according to broadcasting
The video playing parameter information that preparation is handled plays out the video data of download.
For example, with reference to figure 4a, the flow of video is played for player load.Specifically, player SDK is sent out to kernel is played
It send and prepares analysis instruction (prepareAsync), play kernel and the instruction is sent to preparation analysis thread (prepare
Thread), preparation analysis thread (prepare Thread) is played to be played out at preparation according to instruction calls openFile
Reason such as executes findStreamInfo and is analyzed video data to obtain video playing parameter information.
OpenFile can be called to download audio, video data (preload) to be analyzed for example, preparing analysis thread, passed through
Ffmpeg Demuxer detach the audio, video data downloaded to (depending on sound separator), obtain video data and audio number
According to then, analyzing video data and audio data.
To video data analyze complete when return be ready to complete notification information (such as onPreppred) give player SDK,
Player SDK calls Start to start download thread (as read envelope curve journey ReadPacket Thread), passes through download thread root
According to video playing address download audio, video data, and by video and audio decode thread (such as VideoDeodeThread,
AudioDeodeThread broadcasting) is decoded to the audio, video data of download.
The flow that the load shown in Fig. 4 a plays video can be seen that since data download thread must as read envelope curve journey
It must analyze and complete in audio, video data, that is, after the completion of playing preparation processing, just start to start, however analyze audio, video data and need
More outdoor scene is spent, causes log-on data download thread as read envelope curve journey than later, the load for increasing video playing consumes
When, reduce the startup speed of video playing.
For above-mentioned download thread as read envelope curve journey than later problem, in one embodiment, can play out
While preparing processing, log-on data download thread downloads audio, video data to be played as read envelope curve journey.That is, step
" carrying out video playing according to the video playing address obtained in advance " may include:
Preparation processing is played out according to the video playing address obtained in advance, and is downloaded from data server wait broadcasting simultaneously
The audio, video data put;
When playing preparation processing completion, the audio, video data of download is played out.
Prepare analysis thread (prepare Thread) for example, starting and playing, and log-on data download thread (is such as read simultaneously
Take envelope curve journey ReadPacket Thread);Prepare what analysis thread (prepare Thread) basis obtained in advance by playing
Video playing address plays out preparation processing;Pass through data download thread (as read envelope curve journey ReadPacket Thread)
Audio, video data to be played is downloaded from data server according to video playing address
For example, with reference to figure 4b, it can start and play the same of preparation thread (such as prepare Thread) calling OpenFile
Shi Qidong reads envelope curve journey, avoids just starting reading envelope curve journey after needing findStramInfo and OnPrepared inside traditional process
Downloading data reduces data download time, and the load for reducing video takes, and starts speed to promote video.By practical survey
Pilot production program optimization playing flow can save taking for about 200ms.
Wherein, it may include obtaining sample audio, video data according to video playing address to play the process for preparing to handle, right
Sample audio, video data is analyzed to obtain the process of video playing parameter information.That is, step is " according to the video obtained in advance
Broadcast address plays out preparation processing, and downloads audio, video data to be played from data server simultaneously " may include:
Sample audio, video data is downloaded from data server according to video playing address, and to the sample audio and video number of download
According to being analyzed, while audio, video data to be played is downloaded from data server;
When data analysis success, determines to play to prepare to handle and complete;
Step " when playing preparation processing completion, plays out the audio, video data of download ", may include:
When play prepare processing and complete when, according to the obtained video playing parameter information of analysis to the audio, video data of download
It plays out.
Wherein, sample audio, video data can be selected according to actual demand from the audio, video data of video to be played, than
Such as, sample audio, video data can be the audio, video data etc. of certain time length before video.For example, former seconds sounds of video regard
Frequency evidence etc..
Wherein, video playing parameter information may include:The resolution ratio of video, frame per second, audio play parameter etc..
In one embodiment, when data analysis success, can also stop downloading sample audio, video data.
In one embodiment, when data analysis fails, the video playing address download sample audio and video that follow up can be continued
Data.
For example, with reference to figure 4b, start after playing preparation analysis thread (such as prepare Thread), plays and prepare analytical line
Journey calls OpenFile to realize:Sample audio, video data is downloaded from corresponding CDN server according to video playing address, it is then, right
The sample audio, video data downloaded to is analyzed;It determines to play to prepare to handle when data analysis success and complete, return and prepare
Completion notice information (such as onPreppred) gives player SDK.Player SDK is ready to complete notification information (such as receiving
OnPreppred after), start video and audio decoding thread (such as VideoDeodeThread, AudioDeodeThread) to download
Audio, video data is decoded, and is broadcast parameter information according to the video that broadcasting preparation is handled and broadcast to decoded data
It puts.
According to above-mentioned introduction it is found that also needing to play out preparation processing before playing video, preparation processing is being played
Process needs downloading data to be analyzed.When due to leading to load compared with conference in the data volume analyzed in playing preparation processing procedure
Between it is longer, reduce the startup speed of video playing.
In order to reduce the load time, the startup for promoting video playing reaches speed, can also reduce broadcasting in one embodiment
Prepare the data volume analyzed in processing procedure.For example, step " analyzing the sample audio, video data of download ", can wrap
It includes:
The sample audio, video data currently downloaded is analyzed;
When data analysis fails, the accumulative frame number of the Sample video data of present analysis is obtained;
Judge to add up whether frame number is more than default frame number;If more than, it is determined that it plays and prepares processing completion.
In one embodiment, when accumulative frame number is more than default frame number, can also stop downloading sample audio, video data.
Wherein, default frame number can be obtained according to actual test, for example, can be with 5 frames etc..
For example, with reference to figure 4b, start after playing preparation analysis thread (such as prepare Thread), plays and prepare analytical line
Journey calls OpenFile to realize and downloads sample audio, video data from corresponding CDN server according to video playing address, and under
The sample audio, video data being downloaded to is analyzed, and when analyzing successfully, is determined to play to prepare to handle and be completed, when analyzing failure,
The frame number for obtaining the video data of current cumulative analysis stops downloading sample sound when the frame number is more than default frame number (such as 5 frames)
Video data, and return and be ready to complete notification information (such as onPreppred) to player SDK.
Therefore, the embodiment of the present invention can reduce the data volume of analysis, greatly reduce data and download reality, reduce video and broadcast
The load put takes, and greatly improves the startup speed of video playing.Data volume optimal way by reducing analysis can be excellent
The load for changing about 700ms takes.
From the foregoing, it will be observed that the embodiment of the present invention is used in screen display video play lists, video play lists include at least
The video identifier information of one video;When detecting that the display for video play lists updates operation, updated according to display
Display of the operation update video play lists in screen;During video play lists are updated and shown, shield when detecting
When the stop of curtain shows event, video playing address corresponding to the target video identification information that currently shows of screen is obtained;When need
When playing video corresponding to target video identification information, video playing is carried out according to the video playing address obtained in advance.It should
Scheme can obtain the broadcast address of video in advance before video playing, can be directly according to pre- when subsequently playing the video again
The broadcast address first obtained carries out video playing;Therefore, the load that can reduce video playing takes, and promotes opening for net cast
Dynamic speed.
The embodiment of the present invention can also optimize the playing flow for playing end, while playing out preparation processing
Audio, video data is downloaded in triggering, is reduced data download and is taken, the load for creating a further reduction video playing takes, and promotion regards
The startup speed of frequency live streaming.
In addition, the embodiment of the present invention can also reduce the quantity for playing and being analyzed in preparation processing, creates a further reduction and regard
The load that frequency plays takes, and greatly promotes the startup speed of net cast.
According to method described in above-described embodiment, citing is described in further detail below.
In one embodiment, it will carry out the video that the present invention will be described in detail by taking video play device is integrated in terminal as an example and broadcast
Put method.
As shown in Figure 5 a, the detailed process of video broadcasting method can be as follows:
501, for terminal in screen display video play lists, which includes the video mark of at least one video
Know information.
Wherein, video play lists may include the video identifier information of one or more video.The video identifier is believed
Breath may include:The title of video, the Periodical front cover information (such as cover picture) of video, main broadcaster's information (such as main broadcaster's title)
Deng.
Wherein, video play lists can be shown in the form of the page in screen, for example, with reference to figure 2b, can shielded
Show live page in curtain, which includes video play lists, current video broadcasting may include video a, video b,
The video identifier information (such as title, cover picture and main broadcaster's title) of video c and video d.
502, when detecting that the display for video play lists updates operation, terminal updates operation update according to display
Display of the video play lists in screen.
Wherein, display update operation can be set according to actual demand, for example, may include drag operation, slide,
Clicking operation, pressing operation, shake operation etc..
In one embodiment, updating display of the video play lists in screen may include:It will be in video play lists
Do not show that video identifier information is shown in screen.For example terminal is determined according to display update operation from video play lists
Need target video identification information to be shown;Determining video identifier information is shown in screen
For example, video play lists include the video of video a, video b, video c, video d, video e, video f, video g
Identification information;With reference to figure 2b, when beginning, shows the video identifier information of video a, video b, video c, video d in screen;When
When user carries out the drag operation such as upward dragging page on the screen, terminal can determine that the video identifier information of video e, f exist
It is shown in screen, with reference to figure 2c, the video identifier information of the video e, f is shown in current screen.For user perspective, use
Family, which executes the dragging page upwards, can show the video information of new video in video play lists.
503, during video play lists are updated and shown, when detecting that the stop of screen shows event, terminal
In advance video playing address corresponding to the target video identification information that currently shows of screen is obtained from Redirect Server.
Wherein, it is during video play lists are updated and shown to stop display event, and it is aobvious that screen stops certain time
Show the event of content, for example, the time can set according to actual demand, for example, 2s etc..
For example, during video play lists are updated and shown, stops and show for current video identification information screen
2s is then triggered and is stopped display event.
Wherein, video playing address can be video playing URL (Uniform Resource Locator, unified resource
Finger URL), for example, may include CDN server address.
For example, with reference to figure 2c, when repeatedly (i.e. user repeatedly pulls played column to dragging video play lists to user upwards upwards
Table) when, terminal repeatedly updates the video identifier information in display video play lists based on drag operation in screen, it is assumed that
When the video identifier information of the screen display video e, f, user stops drag operation, and user continues to drag after screen display 2s
Dynamic operation, at this point, terminal detects that the display event that stops, terminal can obtain the video of video a, b, e, f from address server
Broadcast address.
In one embodiment, in order to promote the more accurately video interested of identification user and save resource, setting
One preset duration, when stopping the corresponding stop display duration of display event more than the preset duration, it is believed that user is to current
The video information of display is interested, and subsequent user may play the video.For example, terminal acquisition stop display event is corresponding
It stops and shows duration;When stay time is more than preset duration, obtained in advance from address server current displayed in the screen
Video playing address corresponding to target video identification information.
Wherein, preset duration can be set according to actual demand, or be believed according to the behavioural characteristic of the broadcasting video of user
Breath is set, for example, can be 5s etc..
504, when needing to play video corresponding to target video identification information, terminal is according to the video playing obtained in advance
Address plays out preparation processing, and downloads audio, video data to be played from CDN server simultaneously.
Wherein, it may include obtaining sample audio, video data according to video playing address to play the process for preparing to handle, right
Sample audio, video data is analyzed to obtain the process of video playing parameter information.
Wherein, video playing parameter information may include:The resolution ratio of video, frame per second, audio play parameter etc..
For example, sample audio, video data is downloaded from corresponding CDN server according to video playing address, and to the sample of download
This audio, video data is analyzed;
When analyzing successfully, determines to play to prepare to handle and complete, and stop downloading sample audio, video data;
When analyzing failure, continue to download sample audio, video data, until analyzing successfully or meeting preset termination condition
When stop download analysis audio, video data.
For example, with reference to figure 4b, start after playing preparation analysis thread (such as prepare Thread), plays and prepare analytical line
Journey calls OpenFile to realize:Sample audio, video data is downloaded from corresponding CDN server according to video playing address, it is then, right
The sample audio, video data downloaded to is analyzed;It determines to play to prepare to handle when data analysis success and complete, return and prepare
Completion notice information (such as onPreppred) gives player SDK.Player SDK is ready to complete notification information (such as receiving
OnPreppred after), start video and audio decoding thread (such as VideoDeodeThread, AudioDeodeThread) to download
Audio, video data is decoded, and is broadcast parameter information according to the video that broadcasting preparation is handled and broadcast to decoded data
It puts.
In one embodiment, in order to reduce analysis data volume, the load for reducing video playing takes, can be to current sound
When video data analysis failure, the accumulative frame number of the Sample video data of present analysis is obtained;Judge to add up whether frame number is more than
Default frame number;If more than, it is determined that it plays and prepares processing completion, and stop data and download analysis.
For example, with reference to figure 4b, start after playing preparation analysis thread (such as prepare Thread), plays and prepare analytical line
Journey calls OpenFile to download sample audio, video data from corresponding CDN server according to video playing address, and to downloading to
Sample audio, video data analyzed, when analyzing successfully, determine play prepare processing complete, when analyze failure when, obtain
The frame number of the video data of current cumulative analysis stops downloading sample audio and video when the frame number is more than default frame number (such as 5 frames)
Data, and return and be ready to complete notification information (such as onPreppred) to player SDK.
505, when playing preparation processing completion, the audio, video data of download is played out.
In one embodiment, when analyzing successfully sample audio, video data, it can be handled and be regarded according to broadcasting preparation
Frequency play parameter information plays out the audio, video data of download.
For example, can be decoded to the audio, video data of download, and broadcast according to video when playing preparation processing completion
Parameter information is put to play out decoded data.
For example, with reference to figure 4b, player SDK receive be ready to complete notification information (such as onPreppred) when, start
Video and audio decoding thread (such as VideoDeodeThread, AudioDeodeThread) solves the audio, video data of download
Code, and the data after broadcast decoder.
From the foregoing, it will be observed that video broadcasting method provided in an embodiment of the present invention, can in advance obtain before video playing and regard
The broadcast address of frequency directly can carry out video playing when subsequently playing the video again according to the broadcast address obtained in advance;Cause
This, the load that can reduce video playing takes, and compared to traditional broadcasting scheme, can promote the startup speed of net cast.
The embodiment of the present invention can also optimize the playing flow for playing end, while playing out preparation processing
Audio, video data is downloaded in triggering, is reduced data download and is taken, the load for creating a further reduction video playing takes, and promotion regards
The startup speed of frequency live streaming.
In addition, the embodiment of the present invention can also reduce the quantity for playing and being analyzed in preparation processing, creates a further reduction and regard
The load that frequency plays takes, and greatly promotes the startup speed of net cast.
By actual test, broadcasting end can be made to take upper put down in load using the video playing scheme of the embodiment of the present invention
General 1.1S can be reduced, wherein the addresses CDN preload about 200ms (millisecond, millisecond), and playing flow optimizes about
The load of 200ms, analysis data volume optimised about 700ms take.It can be quick compared to traditional broadcasting scheme with reference to figure 5b
Start net cast, same video is directed in Fig. 5 b, also in load video (reference chart when playing scheme Audio live streaming using tradition
Left figure in 5b), but just have begun to play video using video playing scheme provided in an embodiment of the present invention.
In order to preferably implement above method, the embodiment of the present invention also provides a kind of video play device, the video playing
Device can be adapted for terminal, and as shown in Figure 6 a, which may include:Display unit 601, updating unit 602,
Address acquisition unit 603 and broadcast unit 604, it is as follows:
Display unit 601, in screen display video play lists, the video play lists to include at least one regard
The video identifier information of frequency;
Updating unit 602, for when detect for the video play lists display update operation when, according to described
Display update operation updates display of the video play lists in the screen;
Address acquisition unit 603, for during the video play lists are updated and shown, when detecting the screen
When the stop of curtain shows event, video playing address corresponding to target video identification information that the screen is currently shown is obtained;
Broadcast unit 604, for when needing to play video corresponding to target video identification information, according to acquisition
Video playing address carries out video playing.
In one embodiment, with reference to figure 6b, the updating unit 602 may include:
Determination subelement 6021, for when detect for the video play lists display update operation when, according to
The display update operation is determined from the video play lists needs target video identification information to be shown;
Update shows subelement 6022, for showing the target video identification information in the screen.
In one embodiment, with reference to figure 6c, described address acquiring unit 603 may include:
Duration obtain subelement 6031, for when detect for the video play lists display update operation when,
It obtains the corresponding stop of the stop display event and shows duration;
Address obtains subelement 6032, for when the stay time is more than preset duration, obtaining currently in the screen
Video playing address corresponding to the target video identification information that shows in curtain.
In one embodiment, with reference to figure 6d, the broadcast unit 604, including:
It plays and prepares subelement 6041, for playing out preparation processing according to the video playing address of acquisition, and
Audio, video data to be played is downloaded from data server simultaneously;
Subelement 6042 is played, for when broadcasting preparation processing is completed, being played out to the audio, video data of download.
In one embodiment, it plays and prepares subelement 6041, can be used for:
Sample audio, video data is downloaded from data server according to the video playing address, and to the sample audio and video of download
Data are analyzed, while audio, video data to be played is downloaded from data server;When data analysis success, determines and play
Prepare processing to complete;
The broadcasting subelement 6042 can be used for, when playing preparation processing completion, being regarded according to what data analysis obtained
Frequency play parameter information plays out the audio, video data of download.
In one embodiment, it plays and prepares subelement 6041, can be used for:
According to the video playing address sample audio, video data is downloaded from data server;
The sample audio, video data currently downloaded is analyzed;
When data analysis success, determines to play to prepare to handle and complete;
When data analysis fails, the accumulative frame number of the Sample video data of present analysis is obtained;
Judge whether the accumulative frame number is more than default frame number;If more than, it is determined that it plays and prepares processing completion.
In one embodiment, it plays and prepares subelement 6041, can be used for:
Prepare analysis thread by the broadcasting and preparation processing is played out according to the video playing address of acquisition;
Audio and video number to be played is downloaded from data server according to the video playing address by data download thread
According to.
The step of execution of the above each unit, can refer to the description of above method embodiment.
When it is implemented, above each unit can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
The video play device can specifically integrate in the terminal, for example, terminal can be integrated in the form of client
In, which can be the equipment such as mobile phone, tablet computer.
From the foregoing, it will be observed that video play device of the embodiment of the present invention is arranged by display unit 601 in screen display video playing
Table, the video play lists include the video identifier information of at least one video;Worked as by updating unit 602 and is detected for institute
When stating the display update operation of video play lists, operation is updated according to the display and updates the video play lists described
Display in screen;It is described when detecting by address acquisition unit 603 during the video play lists are updated and shown
When the stop of screen shows event, it is corresponding to obtain the target video identification information that the screen is currently shown from address server
Video playing address;By broadcast unit 604 when needing to play video corresponding to target video identification information, according to the institute of acquisition
It states video playing address and carries out video playing.
The program can obtain the broadcast address of video in advance before video playing, can be with when subsequently playing the video again
Video playing is directly carried out according to the broadcast address obtained in advance;Therefore, the load that can reduce video playing takes, and promotion regards
The startup speed of frequency live streaming.
The embodiment of the present invention can also optimize the playing flow for playing end, while playing out preparation processing
Audio, video data is downloaded in triggering, is reduced data download and is taken, the load for creating a further reduction video playing takes, and promotion regards
The startup speed of frequency live streaming.
In addition, the embodiment of the present invention can also reduce the quantity for playing and being analyzed in preparation processing, creates a further reduction and regard
The load that frequency plays takes, and greatly promotes the startup speed of net cast.
With reference to figure 7, an embodiment of the present invention provides a kind of terminals 700, may include one or more than one process cores
The processor 701 of the heart, the memory 702 of one or more computer readable storage mediums, radio frequency (Radio
Frequency, RF) components such as circuit 703, power supply 704, input unit 705 and display unit 706.Those skilled in the art
It is appreciated that the restriction of terminal structure not structure paired terminal shown in Fig. 7, may include than illustrating more or fewer portions
Part either combines certain components or different components arrangement.Wherein:
Processor 701 is the control centre of the terminal, using the various pieces of various interfaces and the entire terminal of connection,
By running or execute the software program and/or module that are stored in memory 702, and calls and be stored in memory 702
Data, execute terminal various functions and processing data, to terminal carry out integral monitoring.Optionally, processor 701 can
Including one or more processing cores;Preferably, processor 701 can integrate application processor and modem processor, wherein
The main processing operation system of application processor, user interface and application program etc., modem processor mainly handles channel radio
Letter.It is understood that above-mentioned modem processor can not also be integrated into processor 701.
Memory 702 can be used for storing software program and module, and processor 701 is stored in memory 702 by operation
Software program and module, to perform various functions application and data processing.
During RF circuits 703 can be used for receiving and sending messages, signal sends and receivees, and particularly, the downlink of base station is believed
After breath receives, one or the processing of more than one processor 701 are transferred to;In addition, the data for being related to uplink are sent to base station.
Terminal further includes the power supply 704 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 701 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 704 can also include one or more direct current or AC power, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
The terminal may also include input unit 705, which can be used for receiving the number or character letter of input
Breath, and generation keyboard related with user setting and function control, mouse, operating lever, optics or trace ball signal are defeated
Enter.
The terminal may also include display unit 706, which can be used for showing information input by user or carry
The information of user and the various graphical user interface of terminal are supplied, these graphical user interface can be by figure, text, figure
Mark, video and its arbitrary combination are constituted.Display unit 708 may include display panel, optionally, liquid crystal display may be used
(LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting
) etc. Diode forms configure display panel.
Specifically in the present embodiment, the processor 701 in terminal can be according to following instruction, will be one or more
The corresponding executable file of process of application program is loaded into memory 702, and is stored in storage by processor 701 to run
Application program in device 702 is as follows to realize various functions:
In screen display video play lists, the video play lists include the video identifier letter of at least one video
Breath;
When detecting that the display for the video play lists updates operation, operation update is updated according to the display
Display of the video play lists in the screen;
During the video play lists are updated and are shown, when detecting that the stop of the screen shows event,
Obtain video playing address corresponding to target video identification information that the screen is currently shown;
When needing to play video corresponding to target video identification information, according to the video playing obtained in advance
Location carries out video playing.
An embodiment of the present invention provides a kind of terminals, and the terminal is in screen display video play lists, the video playing
List includes the video identifier information of at least one video;It is operated when detecting that the display for the video play lists updates
When, display of the video play lists in the screen is updated according to the display update operation;In the video playing
During list update is shown, when detecting that the stop of the screen shows event, obtain what the screen was currently shown
Video playing address corresponding to target video identification information;When needing to play video corresponding to target video identification information, root
Video playing is carried out according to the video playing address of acquisition.The program can obtain broadcasting for video in advance before video playing
Address is put, can video playing directly be carried out according to the broadcast address obtained in advance when subsequently playing the video again;It therefore, can be with
The load for reducing video playing takes, and promotes the startup speed of net cast.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
Be provided for the embodiments of the invention a kind of video broadcasting method above, apparatus and system is described in detail,
Principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only used
In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those skilled in the art, think of according to the present invention
Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair
The limitation of the present invention.
Claims (14)
1. a kind of video broadcasting method, which is characterized in that including:
In screen display video play lists, the video play lists include the video identifier information of at least one video;
When detecting that the display for the video play lists updates operation, updated described in operation update according to the display
Display of the video play lists in the screen;
During the video play lists are updated and shown, when detecting that the stop of the screen shows event, obtain
Video playing address corresponding to target video identification information that the screen is currently shown;
When needing to play video corresponding to target video identification information, video is carried out according to the video playing address of acquisition
It plays.
2. video broadcasting method as described in claim 1, which is characterized in that described ought detect arranges for the video playing
When the display update operation of table, the video identifier information of the screen display is updated according to the display update operation, including:
When detecting that the display for the video play lists updates operation, regarded from described according to display update operation
Being determined in frequency playlist needs target video identification information to be shown;
The target video identification information is shown in the screen.
3. video broadcasting method as described in claim 1, which is characterized in that in the mesh for obtaining the screen and currently showing
Before marking the corresponding video playing address of video identifier information, further include:
It obtains the corresponding stop of the stop display event and shows duration;
It is described to obtain video playing address corresponding to target video identification information that the screen is currently shown, including:
When the stay time is more than preset duration, the target video identification information pair currently shown in the screen is obtained
The video playing address answered.
4. video broadcasting method as described in claim 1, which is characterized in that the video playing address according to acquisition
Video playing is carried out, including:
Preparation processing is played out according to the video playing address of acquisition, and is downloaded simultaneously from data server to be played
Audio, video data;
When playing preparation processing completion, the audio, video data of download is played out.
5. video broadcasting method as claimed in claim 4, which is characterized in that carried out according to the video playing address of acquisition
Preparation processing is played, and downloads audio, video data to be played from data server simultaneously, including:
Sample audio, video data is downloaded from data server according to the video playing address, and to the sample audio and video number of download
According to being analyzed, while audio, video data to be played is downloaded from data server;
When data analysis success, determines to play to prepare to handle and complete;
When playing preparation processing completion, the audio, video data of download is played out, including:
When play prepare processing and complete when, the audio, video data of the video playing parameter information that is obtained according to data analysis to download
It plays out.
6. video broadcasting method as claimed in claim 5, which is characterized in that the sample audio, video data of described pair of download carries out
Analysis, including:
The sample audio, video data currently downloaded is analyzed;
When data analysis fails, the accumulative frame number of the Sample video data of present analysis is obtained;
Judge whether the accumulative frame number is more than default frame number;If more than, it is determined that it plays and prepares processing completion.
7. video broadcasting method as claimed in claim 4, which is characterized in that carried out according to the video playing address of acquisition
Preparation processing is played, and downloads audio, video data to be played from data server simultaneously, including:
Start to play and prepare analysis thread, and log-on data download thread simultaneously;
Prepare analysis thread by the broadcasting and preparation processing is played out according to the video playing address obtained in advance;
Audio, video data to be played is downloaded from data server according to the video playing address by data download thread.
8. a kind of video play device, which is characterized in that including:
Display unit, in screen display video play lists, the video play lists to include regarding at least one video
Frequency identification information;
Updating unit, for when detecting that the display for the video play lists updates operation, being shown more according to described
New operation updates display of the video play lists in the screen;
Address acquisition unit, for during the video play lists are updated and shown, when detecting stopping for the screen
When staying display event, video playing address corresponding to target video identification information that the screen is currently shown is obtained;
Broadcast unit, for when needing to play video corresponding to target video identification information, being broadcast according to the video of acquisition
It puts address and carries out video playing.
9. video play device as claimed in claim 8, which is characterized in that the updating unit, including:
Determination subelement, for when detect for the video play lists display update operation when, according to the display
Update operation is determined from the video play lists needs target video identification information to be shown;
Update shows subelement, for showing the target video identification information in the screen.
10. video play device as claimed in claim 8, which is characterized in that described address acquiring unit, including:
Duration obtains subelement, for when detecting that the display for the video play lists updates operation, described in acquisition
It stops the corresponding stop of display event and shows duration;
Address obtains subelement, for when the stay time is more than preset duration, acquisition currently to be shown in the screen
Video playing address corresponding to target video identification information.
11. video play device as claimed in claim 8, which is characterized in that the broadcast unit, including:
It plays and prepares subelement, for playing out preparation processing according to the video playing address of acquisition, and simultaneously from number
Audio, video data to be played is downloaded according to server;
Subelement is played, for when broadcasting preparation processing is completed, being played out to the audio, video data of download.
12. video play device as claimed in claim 11, which is characterized in that the broadcasting prepares subelement, is used for basis
Sample audio, video data is downloaded in the video playing address from data server, and divides the sample audio, video data of download
Analysis, while audio, video data to be played is downloaded from data server;When data analysis success, determine that playing preparation has been handled
At;
The broadcasting subelement, for when playing preparation processing completion, being believed according to the video playing parameter that data analysis obtains
Breath plays out the audio, video data of download.
13. video play device as claimed in claim 12, which is characterized in that the broadcasting prepares subelement, is used for:
According to the video playing address sample audio, video data is downloaded from data server;
The sample audio, video data currently downloaded is analyzed;
When data analysis success, determines to play to prepare to handle and complete;
When data analysis fails, the accumulative frame number of the Sample video data of present analysis is obtained;
Judge whether the accumulative frame number is more than default frame number;If more than, it is determined that it plays and prepares processing completion.
14. a kind of storage medium, which is characterized in that the storage medium is stored with instruction, when described instruction is executed by processor
It realizes such as the step of any one of claim 1-7 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810401575.2A CN108769816B (en) | 2018-04-28 | 2018-04-28 | Video playing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810401575.2A CN108769816B (en) | 2018-04-28 | 2018-04-28 | Video playing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108769816A true CN108769816A (en) | 2018-11-06 |
CN108769816B CN108769816B (en) | 2021-08-31 |
Family
ID=64008711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810401575.2A Active CN108769816B (en) | 2018-04-28 | 2018-04-28 | Video playing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769816B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110278452A (en) * | 2019-06-24 | 2019-09-24 | 北京字节跳动网络技术有限公司 | Video Acceleration of starting method, apparatus, storage medium, terminal and server |
CN111432278A (en) * | 2020-02-27 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Video control method, device, terminal and storage medium |
CN112243155A (en) * | 2019-07-16 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Live broadcast processing method and device |
CN112770124A (en) * | 2020-12-22 | 2021-05-07 | Oppo广东移动通信有限公司 | Method and device for entering live broadcast room, storage medium and electronic equipment |
CN112788353A (en) * | 2020-12-28 | 2021-05-11 | 未来电视有限公司 | Live broadcast time shifting processing method and device, electronic equipment and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634686A (en) * | 2013-12-19 | 2014-03-12 | 北京奇艺世纪科技有限公司 | Method and device for previewing video |
CN106131644A (en) * | 2016-07-13 | 2016-11-16 | 青岛海信电器股份有限公司 | The player method of audio frequency and video and display device |
US20180019002A1 (en) * | 2013-02-05 | 2018-01-18 | Alc Holdings, Inc. | Activating a video based on location in screen |
-
2018
- 2018-04-28 CN CN201810401575.2A patent/CN108769816B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180019002A1 (en) * | 2013-02-05 | 2018-01-18 | Alc Holdings, Inc. | Activating a video based on location in screen |
CN103634686A (en) * | 2013-12-19 | 2014-03-12 | 北京奇艺世纪科技有限公司 | Method and device for previewing video |
CN106131644A (en) * | 2016-07-13 | 2016-11-16 | 青岛海信电器股份有限公司 | The player method of audio frequency and video and display device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110278452A (en) * | 2019-06-24 | 2019-09-24 | 北京字节跳动网络技术有限公司 | Video Acceleration of starting method, apparatus, storage medium, terminal and server |
CN112243155A (en) * | 2019-07-16 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Live broadcast processing method and device |
CN112243155B (en) * | 2019-07-16 | 2022-09-30 | 腾讯科技(深圳)有限公司 | Live broadcast processing method and device |
CN111432278A (en) * | 2020-02-27 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Video control method, device, terminal and storage medium |
CN112770124A (en) * | 2020-12-22 | 2021-05-07 | Oppo广东移动通信有限公司 | Method and device for entering live broadcast room, storage medium and electronic equipment |
CN112770124B (en) * | 2020-12-22 | 2023-10-31 | Oppo广东移动通信有限公司 | Method and device for entering live broadcast room, storage medium and electronic equipment |
CN112788353A (en) * | 2020-12-28 | 2021-05-11 | 未来电视有限公司 | Live broadcast time shifting processing method and device, electronic equipment and readable storage medium |
CN112788353B (en) * | 2020-12-28 | 2022-06-14 | 未来电视有限公司 | Live broadcast time shifting processing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108769816B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11164220B2 (en) | Information processing method, server, and computer storage medium | |
CN108769816A (en) | A kind of video broadcasting method, device and storage medium | |
US11684849B2 (en) | Distributed sample-based game profiling with game metadata and metrics and gaming API platform supporting third-party content | |
US11887630B2 (en) | Multimedia data processing method, multimedia data generation method, and related device | |
US11825034B2 (en) | Bullet screen delivery method for live broadcast playback and live video bullet screen playback method | |
CN110719524B (en) | Video playing method and device, intelligent playing equipment and storage medium | |
US8707342B2 (en) | Referencing data in triggers from applications | |
US11899907B2 (en) | Method, apparatus and device for displaying followed user information, and storage medium | |
US8510333B2 (en) | Methods, systems, and apparatus for developing widgets | |
US10362359B2 (en) | Video player framework for a media distribution and management platform | |
CA2992471A1 (en) | Media production system with score-based display feature | |
CN105393545A (en) | Integrated interactive television entertainment system | |
WO2015043415A1 (en) | Method, device and system for video content interaction | |
WO2008154821A1 (en) | Method for playing the adhibiting data, client end and server | |
CN110602543A (en) | Method and apparatus for displaying material, storage medium, and electronic apparatus | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
US20230139416A1 (en) | Search content matching method, and electronic device and storage medium | |
EP3048796A1 (en) | Information system, information delivery method and iptv system based on multi-screen interaction | |
CN113630618B (en) | Video processing method, device and system | |
CN110582024A (en) | method and device for playing video | |
CN109996102B (en) | Video information synchronous display method, device, equipment and storage medium | |
CN115243066A (en) | Information pushing method and device, electronic equipment and computer readable medium | |
CN107484040A (en) | A kind of method for realizing network acceleration | |
CN108024152A (en) | A kind of screen shows review system and implementation method | |
KR102459197B1 (en) | Method and apparatus for presentation customization and interactivity |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |