CN110149559A - Method and system for playing video in global variable speed manner - Google Patents
Method and system for playing video in global variable speed manner Download PDFInfo
- Publication number
- CN110149559A CN110149559A CN201910443904.4A CN201910443904A CN110149559A CN 110149559 A CN110149559 A CN 110149559A CN 201910443904 A CN201910443904 A CN 201910443904A CN 110149559 A CN110149559 A CN 110149559A
- Authority
- CN
- China
- Prior art keywords
- video
- variable playback
- playing
- variable
- scene
- 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
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012544 monitoring process Methods 0.000 claims abstract description 7
- 230000004913 activation Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 3
- 239000008267 milk Substances 0.000 description 3
- 210000004080 milk Anatomy 0.000 description 3
- 235000013336 milk Nutrition 0.000 description 3
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 235000019640 taste Nutrition 0.000 description 1
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/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a method and a system for playing videos at a global variable speed, wherein the method for playing the videos at the global variable speed comprises the following steps: step A, a user starts any video playing application on a system platform; step B, the video playing application plays videos, and simultaneously creates a MediaPlayer object and registers the monitoring service of the variable speed playing command; step C, after the user sends out a speed change playing command, judging whether the current scene is a video playing scene, if not, prompting the user that the current scene is not the speed change playing scene and quitting; if the video playing scene is the video playing scene, skipping to the step D; step D, the variable-speed playing command and the variable-speed playing rate are sent to a listener waiting for receiving the variable-speed playing command; and step E, setting the variable speed playing speed for the playing service by the MediaPlayer, and playing the video at the variable speed playing speed by the video playing application. The invention realizes that all video playing applications in the system can be rapidly switched in a variable-speed playing mode, and effectively improves the video watching experience of users.
Description
Technical field
The invention belongs to intelligent video play-back technology field, in particular to the method for a kind of global variable playback video and it is
System.
Background technique
The android system platform video playing process of ecosystem is by Android multimedia framework layer
MediaPlayer (android system provides the interface object for being used for audio and video playing) is executed, and passes through MediaPlayer first
Video playing address (URL) is arranged in the setDataSource method of offer, is then serviced by playing
(MediaPlayerService) it is responsible for processing respective logic, then callback state information is shown to Video Applications (Application)
Show that correlated condition and information inform user.
Variable playback is to play and define relative to conventional speed (1 speed), such as 2 speeds or 0.5 speed play
Video meets the experience of user's different rates viewing video.
Currently, the Video Applications (Application) of some manufacturers have been supported to show setting page by Menu key using interior
Face switches variable playback button again, and the value of corresponding variable playback is arranged directly to playback engine, but cannot pass through remote controler
Key directly operates.
Variable playback is not still supported in the case where system platform is supported in addition, there are also the Video Applications of many manufacturers
Function, this affects the uniformity that user watches video tastes to a certain extent.
Summary of the invention
It is an object of the present invention in view of the above shortcomings of the prior art, provide a kind of side of global variable playback video
Method and system, user by button operation of remote controler etc. can global variable playback video, effectively promote user and watch view
The experience of frequency.
In order to solve the above technical problems, the technical scheme adopted by the invention is that:
A kind of method of overall situation variable playback video, its main feature is that the following steps are included:
Step A, any video playing application on user's activation system platform;
Step B, video playing application plays video, while creating MediaPlayer object and registering variable playback order
Monitoring service;
Step C, after user issues variable playback order, whether judgement is currently video playing scene, if not video
Scene is played, then prompts user to be not currently in variable playback scene and exits;If it is video playing scene, then go to step
D;
Step D, variable playback order are sent to the prison of the variable playback order to be received such as together with variable playback rate
Hearer;
The variable playback rate is arranged to the service of broadcasting in step E, MediaPlayer, and video playing is applied and broadcast with speed change
It puts rate and plays video.
Further, in step C, if being currently video playing scene, continue the view for judging current user operation
Whether frequency plays using allowing to operate variable playback, does not allow operation speed change to broadcast if it is not, then prompt current video plays application
It puts and exits;If it is, the D that gos to step.
Further, in step C, if the video playing application of current user operation allows to operate variable playback,
Continue to judge whether currently playing video is less than setting value, if it is, prompt user's current video does not support variable playback
Function simultaneously exits;If it is not, then the D that gos to step.
Further, in step C, if the video playing application of current user operation allows to operate variable playback,
Continue to judge whether currently playing video is live video stream, if it is, prompt user's current video does not support speed change to broadcast
Playing function simultaneously exits;If it is not, then the D that gos to step.
MediaPlayer is arranged the speed change to the service of broadcasting by setSpeed method and broadcasts as a preferred method,
Put rate.
Based on the same inventive concept, the present invention also provides a kind of systems of global variable playback video, its main feature is that
Include:
Start unit: any video playing application on activation system platform;
Video playing application: for playing video;
Creating unit: for creating MediaPlayer object and registering the monitoring service of variable playback order;
Order issue unit: for issuing variable playback order and variable playback rate;
First judging unit: for judging whether be currently video playing scene;
Transmission unit: for variable playback order to be sent to the variable playback to be received such as together with variable playback rate
The listener of order;
Setting unit: for variable playback rate to be arranged to the service of broadcasting.
It further, further include second judgment unit: for judging whether the video playing application of current user operation is permitted
Perhaps variable playback is operated.
It further, further include third judging unit: for judging whether currently playing video is less than setting value.
It further, further include the 4th judging unit: for judging whether currently playing video is live video stream.
The order issue unit includes variable playback key and/or the voice on remote controler as a preferred method,
Module.
Compared with prior art, no matter the invention has the following advantages: currently in the Video Applications which is played, all
Variable playback order can be issued by remote controler variable playback key etc., user can dynamic by button operation of remote controler etc.
The broadcasting speed of all video playings application in global setting system, all video playing applications can quickly become in realization system
Speed plays switching, effectively promotes the experience that user watches video.
Detailed description of the invention
Fig. 1 is one embodiment flow chart of the method for the present invention.
Fig. 2 is integral module flow chart of the present invention.
Specific embodiment
As shown in Figure 1, the method for overall situation variable playback video of the present invention the following steps are included:
Step A, any video playing application on user's activation system platform.
Step B, video playing application plays video, while creating MediaPlayer object and registering variable playback order
Monitoring service.
Step C, user (by the variable playback key on remote controler, or pass through voice after issuing variable playback order
Issue variable playback order), (system service on milk box for management system performance and receives distant milk house keeper
Control device special key) whether judgement be currently video playing scene, if not video playing scene, then do not prompt user currently not
In variable playback scene and exit;If it is video playing scene, then continue the video playing application for judging current user operation
Whether allowing to operate variable playback, (some Video Applications may not allow to operate variable playback, because speed broadcasting can consume more
More bandwidth resources), if it is not, then prompt current video, which plays application, not to be allowed to operate variable playback and exits;If it is, after
It is continuous to judge whether currently playing video is less than setting value (such as 120s) or whether is live video stream, if it is, mentioning
Show that user's current video is not supported variable playback function and exited;If it is not, then the D that gos to step.
Step D, variable playback order are sent to together with variable playback rate (such as the rates such as 2 or 0.8) and are waiting
Receive the listener of variable playback order.
The variable playback rate, video is arranged to the service of broadcasting by setSpeed method in step E, MediaPlayer
It plays application and video is played with variable playback rate.To realize the function of passing through remote controler overall situation variable playback.
The system of overall situation variable playback video of the present invention includes:
Start unit: any video playing application on activation system platform;
Video playing application: for playing video;
Creating unit: for creating MediaPlayer object and registering the monitoring service of variable playback order;
Order issue unit: for issuing variable playback order and variable playback rate;
First judging unit: for judging whether be currently video playing scene;
Transmission unit: for variable playback order to be sent to the variable playback to be received such as together with variable playback rate
The listener of order;
Setting unit: for variable playback rate to be arranged to the service of broadcasting.
Second judgment unit: for judging whether the video playing application of current user operation allows to operate variable playback.
Third judging unit: for judging whether currently playing video is less than setting value.
4th judging unit: for judging whether currently playing video is live video stream.
The order issue unit includes variable playback key and voice module on remote controler.
Integral module flow chart of the invention is as shown in Fig. 2, whole flow process is related to variable playback key, the milk of remote controler
House keeper's (processing key logic), plays MediaPlayer (android system provides the interface object for being used for audio and video playing)
Service and video playing application realize that the global dynamic on android system platform is fast by global speed change key events of monitoring
Agile speed Switch Video playback rate.
In the present invention, on hardware, remote controler needs the key of newly-increased variable playback;On software, need in android system
The broadcast of variable playback is monitored in addition in code multimedia framework, waits order to be received, is received and rate is arranged to broadcasting after order
Variable playback is realized in the service of putting.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than limitation, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, within these are all belonged to the scope of protection of the present invention.
Claims (10)
1. a kind of method of overall situation variable playback video, which comprises the following steps:
Step A, any video playing application on user's activation system platform;
Step B, video playing application plays video, while creating MediaPlayer object and registering the prison of variable playback order
Listen service;
Step C, after user issues variable playback order, whether judgement is currently video playing scene, if not video playing
Scene then prompts user to be not currently in variable playback scene and exits;If it is video playing scene, then go to step D;
Step D, variable playback order are sent to the listener of the variable playback order to be received such as together with variable playback rate;
The variable playback rate is arranged to the service of broadcasting in step E, MediaPlayer, and video playing is applied with variable playback speed
Rate plays video.
2. the method for overall situation variable playback video as described in claim 1, which is characterized in that in step C, if being currently
Video playing scene, then continue to judge whether the video playing application of current user operation allows to operate variable playback, if not,
Then prompting current video to play application does not allow to operate variable playback and exits;If it is, the D that gos to step.
3. the method for overall situation variable playback video as claimed in claim 2, which is characterized in that in step C, if current use
The video playing application of family operation allows to operate variable playback, then continues to judge whether currently playing video is less than setting value,
If it is, prompt user's current video is not supported variable playback function and is exited;If it is not, then the D that gos to step.
4. the method for overall situation variable playback video as claimed in claim 2, which is characterized in that in step C, if current use
The video playing application of family operation allows to operate variable playback, then continues to judge whether currently playing video is live video
Stream, if it is, prompt user's current video is not supported variable playback function and exited;If it is not, then the D that gos to step.
5. the method for overall situation variable playback video as described in claim 1, which is characterized in that MediaPlayer passes through
The variable playback rate is arranged to the service of broadcasting in setSpeed method.
6. a kind of system of overall situation variable playback video characterized by comprising
Start unit: any video playing application on activation system platform;
Video playing application: for playing video;
Creating unit: for creating MediaPlayer object and registering the monitoring service of variable playback order;
Order issue unit: for issuing variable playback order and variable playback rate;
First judging unit: for judging whether be currently video playing scene;
Transmission unit: for variable playback order to be sent to the variable playback order to be received such as together with variable playback rate
Listener;
Setting unit: for variable playback rate to be arranged to the service of broadcasting.
7. the system of overall situation variable playback video as claimed in claim 6 characterized by comprising
Second judgment unit: for judging whether the video playing application of current user operation allows to operate variable playback.
8. the system of overall situation variable playback video as claimed in claim 7 characterized by comprising
Third judging unit: for judging whether currently playing video is less than setting value.
9. the system of overall situation variable playback video as claimed in claim 7 characterized by comprising
4th judging unit: for judging whether currently playing video is live video stream.
10. the system of overall situation variable playback video as claimed in claim 6, which is characterized in that the order issue unit packet
Include variable playback key and/or the voice module on remote controler.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910443904.4A CN110149559A (en) | 2019-05-27 | 2019-05-27 | Method and system for playing video in global variable speed manner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910443904.4A CN110149559A (en) | 2019-05-27 | 2019-05-27 | Method and system for playing video in global variable speed manner |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110149559A true CN110149559A (en) | 2019-08-20 |
Family
ID=67593182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910443904.4A Pending CN110149559A (en) | 2019-05-27 | 2019-05-27 | Method and system for playing video in global variable speed manner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149559A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868619A (en) * | 2019-11-28 | 2020-03-06 | 湖南快乐阳光互动娱乐传媒有限公司 | Global video playing record aggregation method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003037832A (en) * | 1993-11-10 | 2003-02-07 | Scientific-Atlanta Inc | Dialogic information service control system |
CN105744380A (en) * | 2016-02-25 | 2016-07-06 | 深圳创维数字技术有限公司 | Media data stream playing method and system based on Android system |
CN107087214A (en) * | 2016-02-16 | 2017-08-22 | 中国电信股份有限公司 | Realize method, client and system that streaming medium content speed is played |
-
2019
- 2019-05-27 CN CN201910443904.4A patent/CN110149559A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003037832A (en) * | 1993-11-10 | 2003-02-07 | Scientific-Atlanta Inc | Dialogic information service control system |
CN107087214A (en) * | 2016-02-16 | 2017-08-22 | 中国电信股份有限公司 | Realize method, client and system that streaming medium content speed is played |
CN105744380A (en) * | 2016-02-25 | 2016-07-06 | 深圳创维数字技术有限公司 | Media data stream playing method and system based on Android system |
Non-Patent Citations (1)
Title |
---|
灰色飘零: "Android MediaPlayer 在 6.0 以上版本使用倍速播放功能说明", 《HTTPS://WWW.CNBLOGS.COM/RENHUI/P/10906400.HTML 》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868619A (en) * | 2019-11-28 | 2020-03-06 | 湖南快乐阳光互动娱乐传媒有限公司 | Global video playing record aggregation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102823238B (en) | Media facility | |
US9015782B2 (en) | Signal distribution system with interrupt processing and trick play functionality | |
US8849660B2 (en) | Training of voice-controlled television navigation | |
US7996232B2 (en) | Recognition of voice-activated commands | |
US9560304B2 (en) | Multi-channel audio enhancement for television | |
US8473994B2 (en) | Communication system and method | |
US8537740B2 (en) | Mobile communication device and system supporting media flow control | |
CN102696224A (en) | Method for connecting video communication to other device, video communication apparatus and display apparatus thereof | |
CN110012362B (en) | Live broadcast voice processing method, device, equipment and storage medium | |
CN104486685A (en) | Control method, device and system of media streams | |
JP2012503917A (en) | Method and apparatus for communication between two devices | |
CN102006511A (en) | Method and device for looking back live program and terminal | |
JP2007533235A (en) | Method for controlling media content processing apparatus and media content processing apparatus | |
JP2005269607A (en) | Instant interactive audio/video management system | |
CN110149559A (en) | Method and system for playing video in global variable speed manner | |
JP2003087667A (en) | Digital broadcast receiver | |
WO2007074214A1 (en) | Transmission of media content stream | |
CN102461116A (en) | Method for provisioning multimedia service | |
CN103024507B (en) | The methods, devices and systems of picture-in-picture are realized in home network | |
CN105992054A (en) | Intelligent television playing method and playing device | |
US20070288847A1 (en) | Digital broadcast receiver and access restriction method for the same | |
RU2527732C2 (en) | Method of sounding video broadcast | |
CN109818979A (en) | A kind of method, apparatus that realizing audio return, equipment and storage medium | |
CN106714042B (en) | Listening equipment realizes that track switches the method and apparatus listened to by terminal device | |
CN105898563A (en) | Video play control method, device, system and client device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |