CN105451079A - Method for achieving seamless play of multiple video programs on advertisement machine - Google Patents
Method for achieving seamless play of multiple video programs on advertisement machine Download PDFInfo
- Publication number
- CN105451079A CN105451079A CN201510820996.5A CN201510820996A CN105451079A CN 105451079 A CN105451079 A CN 105451079A CN 201510820996 A CN201510820996 A CN 201510820996A CN 105451079 A CN105451079 A CN 105451079A
- Authority
- CN
- China
- Prior art keywords
- video
- media player
- player
- playing
- play
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- 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
-
- 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
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Abstract
The invention discloses a method for achieving the seamless play of multiple video programs on an advertisement machine, and the method comprises the following steps: building a first media player object for playing a first video, and building an appearance view object, wherein an appearance view is used for cooperating with a first media player for playing a video image, and the first media player object is used for playing a video assigned by a user; building a current player which is used for playing a player object of a current video segment, then obtaining the URIs of all video segments, obtaining a video segment to be played through employing a getURI () function, and enabling the video segment to be played to be loaded into a buffering object; and achieving the seamless play through setting a second media player function. The method effectively a problem of pausing phenomenon appearing before and after the playing of a video source when the user watches an advertisement, avoids block screen or frame stopping, provides a smooth frame, and greatly improves the user experience.
Description
Technical field
The present invention relates to video broadcasting method, particularly relate to a kind of method realizing multiple video program source seamless play in advertisement machine.
Background technology
Along with the continuous maturation of digital signage sector application, advertising sector is able to flourish, e-advertising machine becomes the important information media of the industries such as business premises, school, hospital, public transport, in today of media diversification day by day, e-advertising machine breaches the single billboard of form, and by means of it, image, picture true to nature, vivid bandwagon effect have firmly been stood firm dominant role clearly.In prior art, normally after one piece of data source finishes, then arrange new resource and play, new data source has one section " load time ".That is, during this period of time, the broadcast interface that user sees just is in a standstill state, the standstill state time is all process with loading blank screen, be made with a very large drawback like this, allow user feel picture divergence, not smooth, what have a strong impact on advertising programme watches effect.
Summary of the invention
The technical problem to be solved in the present invention is, for the deficiencies in the prior art, a kind of method realizing multiple video program source seamless play in advertisement machine is provided, and then solve the standstill state of video source before and after when user watches advertisement, by solving this problem, user is allowed to see the advertising programme of more high-quality, to improve the competitiveness in market.
For solving the problems of the technologies described above, the present invention adopts following technical scheme.
A kind of method realizing multiple video program source seamless play in advertisement machine, it comprises the steps: step S1, create the first media player object for playing first paragraph video, also create external view object simultaneously, external view for coordinating the first media renderer plays video image, the video that this first media player object is specified for playing user, step S2, create the second media player object module for playing second segment video, this second media player object is used for after first paragraph video playback terminates, play second segment video, create buffer memory player, this buffer memory player is for arranging the player cache object of the second media player, create current player, this current player is responsible for the player object playing current video paragraph, obtain the URI of all video segmentations afterwards, getURI () function is utilized to obtain the segmenting video needing broadcasting, be loaded in cache object by needing the video play, step S3, seamless play is realized by arranging the second media player function, monitor in eavesdropping target, after one section of video playback, execution arranges player display translation, then call media player that responsible next video segmentation plays to perform display and arrange, perform any time before terminating at the first media player and call the second media player function is set, afterwards android system can when first paragraph video stops Continuous Play second segment video file.
The present invention's beneficial effect is compared to existing technologies, efficiently solves user when watching advertisement, and the standstill state that before and after playing, video source occurs, avoids blank screen or picture still, provide the picture of smooth flow, and then greatly improve Consumer's Experience.Can find out in conjunction with the above, the present invention achieves outstanding progress in advertisement machine video program play technical field, is adapted at applying in this area, and has good market prospects.
Embodiment
Below in conjunction with embodiment, the present invention is described in more detail.
The invention discloses a kind of method realizing multiple video program source seamless play in advertisement machine, it comprises the steps:
Step S1, create the first media player (firstPlayer) object for playing first paragraph video, also create external view object simultaneously, external view for coordinating the first media renderer plays video image, the video that this first media player object is specified for playing user; That is: firstPlayer be responsible for playing and enter video playback interface after first paragraph video.Call setDataSource () and be used to specify the video data source that you will play, calling prepare () or prepareAsync () again allows your video data source be in standby condition, finally performs start () and plays first paragraph video data source;
Step S2, create the second media player (nextMediaPlayer) object module for playing second segment video, this second media player object is used for after first paragraph video playback terminates, play second segment video, create buffer memory player (cachePlayer), this buffer memory player is for arranging the player cache object of the second media player, create current player (currentPlayer), this current player is responsible for the player object playing current video paragraph, obtain the URI of all video segmentations afterwards, getURI () function is utilized to obtain the segmenting video needing broadcasting, be loaded in cache object by needing the video play,
Step S3, seamless play is realized by arranging the second media player (setNextMediaPlayer) function, monitor eavesdropping target (OnCompletionListener) is inner, after one section of video playback, execution arranges player display translation (mp.setDisplay (null)), then the media player (MediaPlayer) execution display setting (setDisplay (surfaceHolder)) that responsible next video segmentation is play is called, any time before the first media player execution terminates calls and arranges the second media player (setNextMediaPlayer) function, afterwards android system can when first paragraph video stops Continuous Play second segment video file.
The present invention's beneficial effect is compared to existing technologies, efficiently solves user when watching advertisement, and the standstill state that before and after playing, video source occurs, avoids blank screen or picture still, provide the picture of smooth flow, and then greatly improve Consumer's Experience.
In addition, the invention still further relates to following content:
1, first video performs any time before terminating and calls setNextMediaPlayer;
2, do not go the assignment work of opening new MediaPlayer at UI thread, screen response is slow likely occurs that ANR makes mistakes problem.
The above is preferred embodiment of the present invention, is not limited to the present invention, all make in technical scope of the present invention amendment, equivalent to replace or improvement etc., all should be included in scope that the present invention protects.
Claims (1)
1. in advertisement machine, realize a method for multiple video program source seamless play, it is characterized in that, comprise the steps:
Step S1, create the first media player object for playing first paragraph video, simultaneously also create external view object, external view for coordinating the first media renderer plays video image, the video that this first media player object is specified for playing user;
Step S2, create the second media player object module for playing second segment video, this second media player object is used for after first paragraph video playback terminates, play second segment video, create buffer memory player, this buffer memory player is for arranging the player cache object of the second media player, create current player, this current player is responsible for the player object playing current video paragraph, obtain the URI of all video segmentations afterwards, getURI () function is utilized to obtain the segmenting video needing broadcasting, be loaded in cache object by needing the video play,
Step S3, seamless play is realized by arranging the second media player function, monitor in eavesdropping target, after one section of video playback, execution arranges player display translation, then call media player that responsible next video segmentation plays to perform display and arrange, perform any time before terminating at the first media player and call the second media player function is set, afterwards android system can when first paragraph video stops Continuous Play second segment video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510820996.5A CN105451079A (en) | 2015-11-23 | 2015-11-23 | Method for achieving seamless play of multiple video programs on advertisement machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510820996.5A CN105451079A (en) | 2015-11-23 | 2015-11-23 | Method for achieving seamless play of multiple video programs on advertisement machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105451079A true CN105451079A (en) | 2016-03-30 |
Family
ID=55560793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510820996.5A Pending CN105451079A (en) | 2015-11-23 | 2015-11-23 | Method for achieving seamless play of multiple video programs on advertisement machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105451079A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106954097A (en) * | 2017-03-03 | 2017-07-14 | 腾讯科技(深圳)有限公司 | The control method and device of video playback |
CN107566902A (en) * | 2017-09-19 | 2018-01-09 | 青岛海信电器股份有限公司 | The method and display device of a kind of display device starting-up |
CN109788350A (en) * | 2019-01-18 | 2019-05-21 | 北京睿峰文化发展有限公司 | It is a kind of that the seamless method and apparatus continuously played are selected based on video display plot |
CN110087115A (en) * | 2019-05-27 | 2019-08-02 | 北京奇艺世纪科技有限公司 | A kind of video player control method, device and relevant device |
CN112887797A (en) * | 2019-11-29 | 2021-06-01 | 腾讯科技(深圳)有限公司 | Method for controlling video playing and related equipment |
RU2762399C1 (en) * | 2018-12-07 | 2021-12-21 | Биго Текнолоджи Пте. Лтд. | Method for playing multiple videos, data storage, and computer apparatus |
CN114418654A (en) * | 2022-03-31 | 2022-04-29 | 深圳憨厚科技有限公司 | Advertisement recommendation method and device based on intelligent terminal interface switching |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980377A (en) * | 2005-12-01 | 2007-06-13 | 北京北大方正电子有限公司 | Method for smart inserting material |
CN102308547A (en) * | 2008-12-31 | 2012-01-04 | 苹果公司 | Method for streaming multimedia data over a non-streaming protocol |
CN103796081A (en) * | 2012-11-02 | 2014-05-14 | 华为终端有限公司 | Method, controller and media player for picture display |
CN104980774A (en) * | 2014-04-07 | 2015-10-14 | 纳宝株式会社 | Service method and system for providing multi-track video contents |
-
2015
- 2015-11-23 CN CN201510820996.5A patent/CN105451079A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980377A (en) * | 2005-12-01 | 2007-06-13 | 北京北大方正电子有限公司 | Method for smart inserting material |
CN102308547A (en) * | 2008-12-31 | 2012-01-04 | 苹果公司 | Method for streaming multimedia data over a non-streaming protocol |
CN103796081A (en) * | 2012-11-02 | 2014-05-14 | 华为终端有限公司 | Method, controller and media player for picture display |
CN104980774A (en) * | 2014-04-07 | 2015-10-14 | 纳宝株式会社 | Service method and system for providing multi-track video contents |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106954097A (en) * | 2017-03-03 | 2017-07-14 | 腾讯科技(深圳)有限公司 | The control method and device of video playback |
CN106954097B (en) * | 2017-03-03 | 2019-08-02 | 腾讯科技(深圳)有限公司 | The control method and device of video playing |
CN107566902A (en) * | 2017-09-19 | 2018-01-09 | 青岛海信电器股份有限公司 | The method and display device of a kind of display device starting-up |
RU2762399C1 (en) * | 2018-12-07 | 2021-12-21 | Биго Текнолоджи Пте. Лтд. | Method for playing multiple videos, data storage, and computer apparatus |
US11627357B2 (en) | 2018-12-07 | 2023-04-11 | Bigo Technology Pte. Ltd. | Method for playing a plurality of videos, storage medium and computer device |
CN109788350A (en) * | 2019-01-18 | 2019-05-21 | 北京睿峰文化发展有限公司 | It is a kind of that the seamless method and apparatus continuously played are selected based on video display plot |
CN110087115A (en) * | 2019-05-27 | 2019-08-02 | 北京奇艺世纪科技有限公司 | A kind of video player control method, device and relevant device |
CN112887797A (en) * | 2019-11-29 | 2021-06-01 | 腾讯科技(深圳)有限公司 | Method for controlling video playing and related equipment |
CN114418654A (en) * | 2022-03-31 | 2022-04-29 | 深圳憨厚科技有限公司 | Advertisement recommendation method and device based on intelligent terminal interface switching |
CN114418654B (en) * | 2022-03-31 | 2022-06-17 | 深圳憨厚科技有限公司 | Advertisement recommendation method and device based on intelligent terminal interface switching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105451079A (en) | Method for achieving seamless play of multiple video programs on advertisement machine | |
US9043800B2 (en) | Video player instance prioritization | |
RU2605435C2 (en) | Graphics processing for high dynamic range video | |
CN103905744B (en) | One kind renders synthetic method and system | |
CN1997153B (en) | A method and device for computer multi-video playing | |
US8767126B2 (en) | Coordinating distributed graphics rendering in a multi-window display | |
WO2020108098A1 (en) | Video processing method and apparatus, and electronic device and computer-readable medium | |
CN103581754A (en) | Data display method and intelligent equipment | |
CN103546816A (en) | User interface processing and video playing method and user interface system | |
CN104202546B (en) | CAVE immersions virtual display system and display methods | |
US20130147787A1 (en) | Systems and Methods for Transmitting Visual Content | |
JP2006270960A5 (en) | ||
CN104363505A (en) | Method and device for displaying playing interface | |
WO2018086303A1 (en) | Advertisement inter-cut method and device, and readable storage medium | |
CN102929654A (en) | Method for playing embedded videos in game | |
CN110505511A (en) | It is a kind of to play the method, apparatus of video, system in webpage and calculate equipment | |
CN103905901A (en) | Video boot method and device and playing equipment based on android system | |
CN107743264A (en) | Video recording method and equipment | |
WO2020258907A1 (en) | Virtual article generation method, apparatus and device | |
CN103546828B (en) | The generation method and device of previewing programs | |
CN105979354A (en) | Channel switching method and device | |
CN106792093A (en) | Video separated screen player method, device and playback terminal | |
EP3336833A1 (en) | Information processing device, information processing method, and program | |
CN107770629A (en) | A kind of picture and video carousel method | |
CN113079408B (en) | Video playing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160330 |