CN112637660A - Image stabilization method for starting up android television video application - Google Patents
Image stabilization method for starting up android television video application Download PDFInfo
- Publication number
- CN112637660A CN112637660A CN202011521101.5A CN202011521101A CN112637660A CN 112637660 A CN112637660 A CN 112637660A CN 202011521101 A CN202011521101 A CN 202011521101A CN 112637660 A CN112637660 A CN 112637660A
- Authority
- CN
- China
- Prior art keywords
- video application
- video
- picture
- media player
- time
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
-
- 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4431—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
-
- 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/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8193—Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
Abstract
The invention discloses an image stabilizing method for starting playing of an android television video application, which comprises the following steps of: counting the time consumption of the picture processing driving layer; after the Media Player notify sleeps for the designated time, Media Player info (3,0) is sent to the upper layer video application through callback; the Video application eliminates the Video View and no longer obscures the Video picture. According to the method, the asynchronous driving layer action and the upper layer video application action are adjusted to be synchronous according to the SOC characteristic of the television, seamless switching is achieved, the problems of screen flashing, screen splash and image zooming when the android television video application is played are solved, and user experience is improved.
Description
Technical Field
The invention relates to the technical field of intelligent television network video image control, in particular to an image stabilizing method for starting up an android television video application.
Background
When the android television device loads and plays Video, when the Player is ready for the first frame of image data, the Framework Media Player sends out Media Player info (3,0), and the upper layer Video application eliminates Video View, and does not block the display of Video images.
This approach has the following disadvantages: before a moving picture is displayed in a video image area, a screen is blacked, and abnormalities such as screen flashing, image zooming and the like are often accompanied, so that poor user experience is caused.
Disclosure of Invention
The invention provides an image stabilization method for starting up an android television video application, which aims to solve the problems of screen flashing, screen blurring and image scaling during starting up the android television video application in the prior art.
The technical scheme adopted by the invention is as follows: the method for stabilizing the image played by the android television video application comprises the following steps:
counting the time consumption of the picture processing driving layer;
after the Media Player notify sleeps for the designated time, Media Player info (3,0) is sent to the upper layer video application through callback;
the Video application eliminates the Video View and no longer obscures the Video picture.
Preferably, the statistical picture processing driver layer processing time consumption includes:
after a video application is started, acquiring action time points of the application, the system and the driver;
and calculating the total time length of the SOC rear-end picture processing.
Preferably, the sleep specification time is the total duration of the SOC backend screen processing + a fixed duration.
Preferably, the fixed duration is 10-50 milliseconds. By the fixed-time delay, dirty data of each link register is ensured not to be displayed.
The invention has the beneficial effects that: according to the method, the asynchronous driving layer action and the upper layer video application action are adjusted to be synchronous according to the SOC characteristic of the television, seamless switching is achieved, the problems of screen flashing, screen splash and image zooming when the android television video application is played are solved, and user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of an image stabilization method for starting up an android television video application disclosed by the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail below with reference to the accompanying drawings, but embodiments of the present invention are not limited thereto.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Interpretation of terms:
and (3) picture size processing: because the network video has pictures with different resolutions, the display screen of the television is generally 2K or 4K. In order to display the picture normally, the television SOC needs to process the network video picture and enlarge the network video picture to be suitable for the screen.
And (3) picture quality processing: because of different display screens and image quality standards, the television needs to process the brightness, contrast and color of the network video image, so as to achieve a uniform subjective effect. And if pictures with different resolutions exist in the network video, the definition processing is increased.
And (3) converting the frame rate of the picture: because there are different refresh frequencies for network video, and the screen of a television is generally fixed at 50Hz or 60Hz, the original picture needs to be frame rate converted.
Optimizing the motion: and the SOC with higher performance can also perform frame interpolation operation of motion optimization, thereby achieving the anti-shake effect.
Through analysis, before a moving picture is displayed in a video image area, the screen is blacked out, and the reasons of abnormalities such as splash screen and image zooming are often accompanied are as follows:
the whole process of playing the network video comprises the actions of three units of a Player (comprising a Media Player and an SOC Player), SOC image processing and upper application. When the upper layer application calls the set Data Source to the Media Player, the Media Player transfers the playing website to the Player software part of the SOC, and the Player software downloads the video clip according to the website and transfers the video clip to the hardware decoding core of the Media Player. The hardware decoding core starts decoding after receiving the Video file, and informs the SOC Player software part of the completion of the decoding of the first frame through callback after the decoding of the first frame is completed, the SOC Player software part further forwards the message to the Media Player, the Media Player converts the message into Media Player info (3,0) and sends the Media Player info (3,0) to the upper layer, and the upper layer application eliminates the Video View after receiving the Media Player info (3,0), so that the Video window is not blocked.
At this time, the television SOC does not complete the processing of the first frame of picture, and needs to perform the back-end picture quality processing, the picture size processing, and the picture frame rate conversion to output the normal picture in the video window.
At this time, the buffer UI covered on the video window is eliminated, a black screen is displayed, and abnormal pictures such as some flowers are output probabilistically because dirty data may exist inside the 3 picture processors and the motion optimization processor of the SOC.
And because the default of the Video View adopted by the upper layer application is to set the width and the height in a match _ parent mode, the first frame pictures are displayed in a stretched full screen mode; after the video size changed obtains the correct aspect ratio, the width and height are set again, and the screen is displayed according to the suitable screen, so that the zooming of the picture can be seen.
In summary, the technical essence of the problem defect is that the Video View elimination of the upper layer application and the asynchronous disconnection of the action of the driving layer of the television SOC are caused.
Therefore, the invention provides an image stabilization method for starting up the android television video application to solve the problem, and with reference to fig. 1, 1080P resolution is selected for playing 'X' film source in the Aiqiyi video application as an example. The data and flow processing of the technical scheme is as follows:
firstly, counting the time consumed by the processing of the image processing driving layer, specifically, the method can be divided into the steps of acquiring action time points of an application, a system and a driver after the video application is started, and calculating the total time of the image processing of the back end of the SOC.
1) And after the video application is started, acquiring each action time point of the application, the system and the driver.
The system log and the logcat log are recorded to a local PC through a UART serial port, then the local PC enters into the Aichi art video application to find X, the resolution ratio is switched to 1080P, and then an OK key is pressed to start playing. The log includes a time t1 when the corresponding film Source is selected and the play is started by pressing the OK key, a time t2 when the SOC Player is given Media Player set Data Source, a time t3 when the Player decodes the first frame of picture, a time t4 for picture size processing, a time t5 for picture quality processing, a time t6 for picture frame rate conversion, and a time t7 for motion optimization processing, and starts picture output t 8.
2) And calculating the total time length of the SOC rear-end picture processing.
According to fig. 1, the Media Player info (3,0) sleep time we need is the time difference from the Player decoding the first frame picture to the drive layer starting picture output, i.e. the time difference from time t8 to time t 2. The time value is extracted from the log, and the time between t8 and t2 is 134 milliseconds. To ensure that the dirty data for each link register is not displayed, this value is further modified by adding 20 ms to the 50Hz image processing display cycle duration, which is 154 ms.
3) Media Player info (3,0) sends timing adjustment, and after a specific Media Player notify sleeps for a specified time, Media Player info (3,0) is sent back to the upper layer video application.
In the callback function of the Media Player, the type of the drive layer callback is judged, if the received type of the bottom layer callback is Media _ INFO _ VIDEO _ retrieval _ START, namely the decoder decodes normally and outputs the message of the first frame picture, the Media Player thread sleeps according to the total time of 154 milliseconds, and after the thread sleep is finished, the Media Player INFO (3,0) is sent out.
4) The Video application eliminates the Video View and no longer obscures the Video picture.
After the video application hears the Media Player info (3,0), the television SOC has prepared the correct video frame, avoiding the periods of black screen, flower screen, zoom. At this point the application eliminates the Video View and seamlessly switches to the display of the Video picture.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (4)
1. An image stabilization method for starting up an android television video application is characterized by comprising the following steps:
counting the time consumption of the picture processing driving layer;
after the Media Player notify sleeps for the designated time, Media Player info (3,0) is sent to the upper layer video application through callback;
the Video application eliminates the Video View and no longer obscures the Video picture.
2. The image stabilization method for android television video application start-up of claim 1, wherein the statistical picture processing driver layer processing time consumption comprises:
after a video application is started, acquiring action time points of the application, the system and the driver;
and calculating the total time length of the SOC rear-end picture processing.
3. The method for image stabilization of android television video application start-up of claim 2, wherein the sleep specified time is total duration of SOC backend picture processing + fixed duration.
4. The method for image stabilization of an android television video application start-up of claim 3, wherein the fixed duration is 10-50 milliseconds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011521101.5A CN112637660A (en) | 2020-12-21 | 2020-12-21 | Image stabilization method for starting up android television video application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011521101.5A CN112637660A (en) | 2020-12-21 | 2020-12-21 | Image stabilization method for starting up android television video application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112637660A true CN112637660A (en) | 2021-04-09 |
Family
ID=75320376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011521101.5A Pending CN112637660A (en) | 2020-12-21 | 2020-12-21 | Image stabilization method for starting up android television video application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112637660A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113238905A (en) * | 2021-05-28 | 2021-08-10 | 广州绿怡信息科技有限公司 | Screen jumpiness detection method and device |
CN114007133A (en) * | 2021-10-25 | 2022-02-01 | 杭州当虹科技股份有限公司 | Video playing start cover automatic generation method and device based on video playing |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686368A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for turning on television to play cartoons and television |
CN104301786A (en) * | 2014-09-28 | 2015-01-21 | 四川长虹电器股份有限公司 | Network video playing method |
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
CN105898395A (en) * | 2015-06-30 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Network video playing method, device and system |
CN106303692A (en) * | 2016-08-22 | 2017-01-04 | 乐视控股(北京)有限公司 | Video loading method and device |
CN107566902A (en) * | 2017-09-19 | 2018-01-09 | 青岛海信电器股份有限公司 | The method and display device of a kind of display device starting-up |
CN107748687A (en) * | 2017-10-10 | 2018-03-02 | 晶晨半导体(上海)股份有限公司 | It is a kind of that method and smart machine are controlled to smart machine start display picture |
CN109348295A (en) * | 2018-11-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A method of solution android advertisement video, which opens, broadcasts preceding blank screen |
-
2020
- 2020-12-21 CN CN202011521101.5A patent/CN112637660A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686368A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for turning on television to play cartoons and television |
CN104301786A (en) * | 2014-09-28 | 2015-01-21 | 四川长虹电器股份有限公司 | Network video playing method |
CN105898395A (en) * | 2015-06-30 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Network video playing method, device and system |
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
CN106303692A (en) * | 2016-08-22 | 2017-01-04 | 乐视控股(北京)有限公司 | Video loading method and device |
CN107566902A (en) * | 2017-09-19 | 2018-01-09 | 青岛海信电器股份有限公司 | The method and display device of a kind of display device starting-up |
CN107748687A (en) * | 2017-10-10 | 2018-03-02 | 晶晨半导体(上海)股份有限公司 | It is a kind of that method and smart machine are controlled to smart machine start display picture |
CN109348295A (en) * | 2018-11-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A method of solution android advertisement video, which opens, broadcasts preceding blank screen |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113238905A (en) * | 2021-05-28 | 2021-08-10 | 广州绿怡信息科技有限公司 | Screen jumpiness detection method and device |
CN113238905B (en) * | 2021-05-28 | 2023-04-07 | 广州绿怡信息科技有限公司 | Screen jumpiness detection method and device |
CN114007133A (en) * | 2021-10-25 | 2022-02-01 | 杭州当虹科技股份有限公司 | Video playing start cover automatic generation method and device based on video playing |
CN114007133B (en) * | 2021-10-25 | 2024-02-23 | 杭州当虹科技股份有限公司 | Video playing cover automatic generation method and device based on video playing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6034733A (en) | Timing and control for deinterlacing and enhancement of non-deterministically arriving interlaced video data | |
US9992445B1 (en) | Systems and methods for identifying a video aspect-ratio frame attribute | |
CN108833975B (en) | Video playing processing method and device | |
US5633687A (en) | Method and system for providing an interlaced image on an display | |
CN108924621B (en) | Display methods, device and television set, storage medium | |
WO2020107989A1 (en) | Video processing method and apparatus, and electronic device and storage medium | |
US7952643B2 (en) | Pipelining techniques for deinterlacing video information | |
US20040233330A1 (en) | Selection methodology of de-interlacing algorithm of dynamic image | |
WO2020108091A1 (en) | Video processing method and apparatus, and electronic device and storage medium | |
CN110868625A (en) | Video playing method and device, electronic equipment and storage medium | |
CN112637660A (en) | Image stabilization method for starting up android television video application | |
CN105681720B (en) | The processing method and processing device of video playing | |
JPH1023375A (en) | Sequential digital video decoder | |
CN110401866B (en) | Live video display method, device, terminal and storage medium | |
US20120224105A1 (en) | Video display apparatus and video processing method | |
JP2002094994A (en) | Moving picture reproduction processing unit and moving picture reproduction processing method | |
JPH10257407A (en) | Receiver | |
CN105812923B (en) | Play handling method and device based on video on demand | |
TW200939785A (en) | Method and system for motion compensated picture rate up-conversion using information extracted from a compressed video stream | |
CN101090473A (en) | Method for raising high clear video image display quality using linear deinterleaving process | |
CN115103229B (en) | Real-time display method of high-frame-rate video | |
JP5259867B2 (en) | Video display device and video processing method | |
CN114998479B (en) | Gradual change image scene machine control processing system and method | |
JP2004187110A (en) | Method of displaying and controlling video and video display device | |
KR20070090208A (en) | Reducing the latency of a motion estimation based video processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210409 |
|
RJ01 | Rejection of invention patent application after publication |