CN105898320A - Panorama video decoding method and device and terminal equipment based on Android platform - Google Patents
Panorama video decoding method and device and terminal equipment based on Android platform Download PDFInfo
- Publication number
- CN105898320A CN105898320A CN201510907211.8A CN201510907211A CN105898320A CN 105898320 A CN105898320 A CN 105898320A CN 201510907211 A CN201510907211 A CN 201510907211A CN 105898320 A CN105898320 A CN 105898320A
- Authority
- CN
- China
- Prior art keywords
- panoramic video
- video data
- hard
- android platform
- decoding
- 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 37
- 230000006870 function Effects 0.000 description 11
- 239000000872 buffer Substances 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention provides a panorama video decoding method and device and terminal equipment based on the Android platform. The method comprises that panorama video data is obtained; the panorama video data is sent to a hard decoder in the Android platform; and the hard-decoded panorama video data is obtained from an output interface of the hard decoder. According to the invention, a panorama video is decoded in a hard decoding manner on the basis of the Android platform, the decoded data is obtained for panorama special-effect processing, the efficiency of the hard decoding manner is higher than that of the soft decoding manner, the panorama video can be decoded in high efficiency, subsequent panorama special-effect processing is accelerated, and playing experience of a user is improved.
Description
Technical field
The present invention relates to video decoding filed, particularly relate to a kind of panoramic video based on Android platform
Coding/decoding method, device and terminal unit.
Background technology
It is currently based on the broadcasting of the panoramic video of Android platform, uses soft decoding process, the most directly adjust
Panoramic video is entered by central processing unit (Central Processing Unit, CPU) with decoding algorithm
Row decoding, such decoding efficiency is low, and strengthens CPU burden, and power consumption increases much the most accordingly.
Summary of the invention
It is an object of the invention to, it is provided that the coding/decoding method of a kind of panoramic video based on Android platform,
Device and terminal unit, the broadcasting improving user is experienced.
According to an aspect of the present invention, it is provided that the coding/decoding method of panoramic video based on Android platform,
Described method includes: obtain panoramic video data;Described panoramic video data are sent to described peace
Hard decoders in Zhuo Pingtai;Panorama after the output interface of described hard decoders obtains hard decoder
Video data.
Further, described method also includes: the panoramic video data after described hard decoder carried out
Special effect processing.
Further, described method also includes: the panoramic video data after special display effect process.
Further, the DequeueOutputBuffer function during described output interface is MediaCodec.
According to a further aspect in the invention, it is provided that the decoding apparatus of panoramic video based on Android platform,
Described device includes: the first acquiring unit, is used for obtaining panoramic video data;Transmitting element, uses
It is sent to the hard decoder in described Android platform in the panoramic video data obtained by described acquiring unit
Device;Hard decoders, carries out hard decoder for the panoramic video data sent by described transmitting element;
Second acquisition unit, the aphorama after obtaining hard decoder from the output interface of described hard decoders
Frequency evidence.
Further, described device also includes: specially good effect unit, for by described second acquisition unit
Panoramic video data after the hard decoder obtained carry out special effect processing.
Further, described device also includes: display unit, is used for showing that described specially good effect unit enters
Panoramic video data after row special effect processing.
Further, the DequeueOutputBuffer during described output interface is MediaCodec
Function.
According to a further aspect in the invention, it is provided that a kind of Android mobile terminal equipment, described Android is moved
Dynamic terminal unit includes the decoding apparatus of panoramic video based on Android platform as the aforementioned.
The coding/decoding method of panoramic video based on Android platform that theres is provided according to embodiments of the present invention, dress
Put and terminal unit, based on Android platform panoramic video be decoded by the way of hard decoder,
Obtaining decoded data and carry out panorama special effect processing, the mode of hard decoder is relative to the side of soft decoding
Formula efficiency is more preferable, can carry out panoramic video decoding efficiently, and then it is special to accelerate follow-up panoramic video
The speed that effect processes, the broadcasting improving user is experienced.
Accompanying drawing explanation
Fig. 1 is the decoding side illustrating panoramic video based on Android platform according to embodiments of the present invention
The flow chart of method;
Fig. 2 is the decoding dress illustrating panoramic video based on Android platform according to embodiments of the present invention
The structural representation put.
Detailed description of the invention
Describe the exemplary embodiment of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Fig. 1 is the decoding side illustrating panoramic video based on Android platform according to embodiments of the present invention
The flow chart of method.With reference to Fig. 1, the decoding of embodiment of the present invention panoramic video based on Android platform
Method comprises the following steps:
In step S110, obtain panoramic video data.
The Android platform of the present embodiment indication is the terminal unit being mounted with Android system, such as, include
But it is not limited to smart mobile phone and/or intelligent television etc..
Panoramic video data are to use capture apparatus to carry out existing scene after multi-angle looks around shooting
The video data obtained, can include 360 ° of panoramic video data and 720 ° of panoramic video data etc.,
Wherein 360 ° of panoramic video data refer to horizontal direction or the vertical direction video around whole circle shooting
Data, 720 ° of panoramic video data refer to that horizontal direction and vertical direction are respectively around whole circle shooting
Video data.Wherein, 360 ° of panoramic video data, also known as column 360 panoramic video data, are right
Scene carries out the video data obtained by shooting along horizontal direction, accordingly to user's exhibition
The when of showing, also may only left and right horizontal mobile browsing;720 ° of panoramic video data are also known as spherical 360
Panoramic video data, are with vertical both direction, scene to be carried out multi-angle along level look around shooting
Obtained video data, accordingly showing to user when, can amplify, reduces, move
Move comprehensive browsing.
In the present embodiment, can by include but not limited to existing the Internet, CHINA RFTCOM Co Ltd and/
Or communication network etc. receives the panoramic video data from capture apparatus.
In step S120, described panoramic video data are sent to the hard decoder in described Android platform
Device.
Hard decoders in Android platform can be integrated in video card, hard decoder refer to without the help of
Central processing unit (Central Processing Unit, CPU) and come solely by special subcard equipment
Found the decoding process of video decoding.CPU can be regarded by the mode of hard decoder video from heavy
Frequency decoding computing discharges, makes Android platform possess the ability of smooth playing HD video, special
Other for panoramic video data, its data volume is big, the preferably graphic process unit in video card
(Graphic Processing Unit, GPU) or video processing unit (Video Processing
Unit, VPU) as hard decoders.
The panoramic video data of acquisition are read in internal memory by the CPU in terminal unit, and operate in
Data encapsulation format parsing module on CPU separates video in panoramic video data and audio frequency, its
Middle video data is sent in hard decoders (including but not limited to GPU and/or VPU), by
Hard decoders is by video data decoding, and decoding data out are sent to CPU, CPU call
Video data after broadcast window broadcast decoder.Owing to the data volume of voice data is far smaller than video
The data volume of data, therefore, it can when playing video data, and decoding audio data limit, limit is play,
By the sound card (hard decoders) in terminal unit, voice data can be carried out in the present embodiment
Decoding.
Use the technical scheme of the present embodiment, panoramic video data carried out hard decoder and releases CPU,
Allow Android system platform can process other tasks while HD video processes simultaneously;Further
Ground, can be controlled in terms of system power dissipation and equalize system load.
In step S130, the panoramic video after the output interface of described hard decoders obtains hard decoder
Data.
Optionally, during output interface in the present embodiment is MediaCodec
DequeueOutputBuffer function.On Android platform, in the multimedia class of Android,
MediaCodec is used for creating video-audio decoder, can be decoded video/audio by it
Operation.After Android platform creates MediaCodec example, call configure function and refer to
Usual practice such as media formats or the attribute of the most internally appearance encryption.Pass through getInputBuffers afterwards
Function obtains the array of input ByteBuffer object to be come by getOutputBuffers function the most again
Obtain the object array of the ByteBuffer of output.Further call dequeueInputBuffer
Function obtains this ByteBuffer being used as media file source code (buffers from input
Array in) index position, afterwards by call queueInputBuffer function release buffer area
Proprietary rights, and call dequeueOutputBuffer function obtain decoded result ByteBuffer
Index position.I.e. DequeueOutputBuffer Function Mapping decodes to buffer area, hard decoders
After panoramic video data store in the buffer, can be read by DequeueOutputBuffer.
Optionally, in step S140, the panoramic video data after described hard decoder are carried out at specially good effect
Reason.
According to the demand of user, the panoramic video data after hard decoder can be carried out special effect processing,
Such as can include but not limited to color adjustment, video cutting, captioning and/or join background music etc.
Deng.
Optionally, the panoramic video data after step S150, special display effect process.
The coding/decoding method of the panoramic video based on Android platform provided according to embodiments of the present invention, base
Being decoded by the way of hard decoder by panoramic video in Android platform, obtains decoded number
According to carrying out panorama special effect processing, the mode of hard decoder is more preferable relative to the mode efficiency of soft decoding, can
To carry out panoramic video decoding efficiently, and then accelerate the speed of follow-up panoramic video special effect processing,
The broadcasting improving user is experienced.
Embodiment two
Fig. 2 is the decoding dress illustrating panoramic video based on Android platform according to embodiments of the present invention
The structural representation put.
With reference to Fig. 2, in the present embodiment, this device includes:
First acquiring unit 21, is used for obtaining panoramic video data.
Transmitting element 22, the panoramic video data for being obtained by described acquiring unit are sent to described
Hard decoders in Android platform.
Hard decoders 23, carries out hard decoder for the panoramic video data sent by described transmitting element.
Second acquisition unit 24, after obtaining hard decoder from the output interface of described hard decoders
Panoramic video data.
Further, described device also includes:
Specially good effect unit (not shown), for the hard decoder obtained by described second acquisition unit
After panoramic video data carry out special effect processing.
Further, described device also includes:
Display unit (not shown), after being used for showing that described specially good effect unit carries out special effect processing
Panoramic video data.
Further, during described output interface is MEDIACODEC
DEQUEUEOUTPUTBUFFER function.
The decoding apparatus of the panoramic video based on Android platform provided according to embodiments of the present invention, base
Being decoded by the way of hard decoder by panoramic video in Android platform, obtains decoded number
According to carrying out panorama special effect processing, the mode of hard decoder is more preferable relative to the mode efficiency of soft decoding, can
To carry out panoramic video decoding efficiently, and then accelerate the speed of follow-up panoramic video special effect processing,
The broadcasting improving user is experienced.
Embodiment three
The embodiment of the present invention additionally provides a kind of Android mobile terminal equipment, described Android mobile terminal
Equipment includes the decoding apparatus of above-mentioned panoramic video based on Android platform.
Specifically, this mobile terminal device can be mobile phone, panel computer or intelligent TV set etc.
The coding/decoding method of panoramic video based on Android platform that theres is provided according to embodiments of the present invention, dress
Put and terminal unit, based on Android platform panoramic video be decoded by the way of hard decoder,
Obtaining decoded data and carry out panorama special effect processing, the mode of hard decoder is relative to the side of soft decoding
Formula efficiency is more preferable, can carry out panoramic video decoding efficiently, and then it is special to accelerate follow-up panoramic video
The speed that effect processes, the broadcasting improving user is experienced.
It may be noted that according to the needs implemented, each step/parts described in this application can be torn open
It is divided into more multi-step/parts, it is possible to by two or more step/parts or the part of step/parts
Step/parts that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing
Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk)
Or computer code, or be implemented through original storage that network downloads at remotely record medium or
In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from
And method described here can be stored in use general purpose computer, application specific processor or able to programme
Or the such software processes on the record medium of specialized hardware (such as ASIC or FPGA).Can
To understand, computer, processor, microprocessor controller or programmable hardware include storing or
Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when
When described software or computer code are by computer, processor or hardware access and execution, it is achieved
This processing method described.Additionally, when general purpose computer accesses for realizing the process being shown in which
Code time, general purpose computer is converted to for performing the process being shown in which by the execution of code
Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not
Be confined to this, any those familiar with the art in the technical scope that the invention discloses,
Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally
The protection domain of invention should be as the criterion with described scope of the claims.
Claims (9)
1. the coding/decoding method of a panoramic video based on Android platform, it is characterised in that described side
Method includes:
Obtain panoramic video data;
Described panoramic video data are sent to the hard decoders in described Android platform;
Panoramic video data after the output interface of described hard decoders obtains hard decoder.
Method the most according to claim 1, it is characterised in that described method also includes:
Panoramic video data after described hard decoder are carried out special effect processing.
Method the most according to claim 2, it is characterised in that described method also includes:
Panoramic video data after special display effect process.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described output
Interface is the DequeueOutputBuffer function in MediaCodec.
5. the decoding apparatus of a panoramic video based on Android platform, it is characterised in that described dress
Put and include:
First acquiring unit, is used for obtaining panoramic video data;
Transmitting element, is sent to described peace for the panoramic video data obtained by described acquiring unit
Hard decoders in Zhuo Pingtai;
Hard decoders, carries out hard decoder for the panoramic video data sent by described transmitting element;
Second acquisition unit, complete after obtaining hard decoder from the output interface of described hard decoders
Scape video data.
Device the most according to claim 5, it is characterised in that described device also includes:
Specially good effect unit, the aphorama frequency after the hard decoder that described second acquisition unit is obtained
According to carrying out special effect processing.
Device the most according to claim 6, it is characterised in that described device also includes:
Display unit, for show described specially good effect unit carry out special effect processing after panoramic video data.
8. according to the device described in any one of claim 5 to 7, it is characterised in that described output
Interface is the DequeueOutputBuffer function in MediaCodec.
9. an Android mobile terminal equipment, it is characterised in that described Android mobile terminal equipment bag
The decoding including the panoramic video based on Android platform as described in any one in claim 5-8 fills
Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510907211.8A CN105898320A (en) | 2015-12-09 | 2015-12-09 | Panorama video decoding method and device and terminal equipment based on Android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510907211.8A CN105898320A (en) | 2015-12-09 | 2015-12-09 | Panorama video decoding method and device and terminal equipment based on Android platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105898320A true CN105898320A (en) | 2016-08-24 |
Family
ID=57001989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510907211.8A Pending CN105898320A (en) | 2015-12-09 | 2015-12-09 | Panorama video decoding method and device and terminal equipment based on Android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105898320A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108289231A (en) * | 2017-06-20 | 2018-07-17 | 深圳市佳创视讯技术股份有限公司 | A kind of panorama player of fusion |
CN109640179A (en) * | 2018-11-27 | 2019-04-16 | Oppo广东移动通信有限公司 | Video frequency decoding control method, device and electronic equipment |
CN110602551A (en) * | 2019-08-22 | 2019-12-20 | 福建星网智慧科技股份有限公司 | Media playing method, player, equipment and storage medium of android frame layer |
CN113923507A (en) * | 2021-12-13 | 2022-01-11 | 北京蔚领时代科技有限公司 | Low-delay video rendering method and device for Android terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104023260A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Hardware decoding implementation method and device, and player |
CN104618712A (en) * | 2015-02-13 | 2015-05-13 | 北京维阿时代科技有限公司 | Head wearing type virtual reality equipment and virtual reality system comprising equipment |
CN104754349A (en) * | 2013-12-25 | 2015-07-01 | 炫一下(北京)科技有限公司 | Method and device for hardware decoding of audio/video |
CN104780378A (en) * | 2015-04-16 | 2015-07-15 | 腾讯科技(北京)有限公司 | Method, device and player for decoding video |
-
2015
- 2015-12-09 CN CN201510907211.8A patent/CN105898320A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104023260A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Hardware decoding implementation method and device, and player |
CN104754349A (en) * | 2013-12-25 | 2015-07-01 | 炫一下(北京)科技有限公司 | Method and device for hardware decoding of audio/video |
CN104618712A (en) * | 2015-02-13 | 2015-05-13 | 北京维阿时代科技有限公司 | Head wearing type virtual reality equipment and virtual reality system comprising equipment |
CN104780378A (en) * | 2015-04-16 | 2015-07-15 | 腾讯科技(北京)有限公司 | Method, device and player for decoding video |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108289231A (en) * | 2017-06-20 | 2018-07-17 | 深圳市佳创视讯技术股份有限公司 | A kind of panorama player of fusion |
CN109640179A (en) * | 2018-11-27 | 2019-04-16 | Oppo广东移动通信有限公司 | Video frequency decoding control method, device and electronic equipment |
US11456013B2 (en) | 2018-11-27 | 2022-09-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Video decoding control method, electronic device, and storage medium |
CN110602551A (en) * | 2019-08-22 | 2019-12-20 | 福建星网智慧科技股份有限公司 | Media playing method, player, equipment and storage medium of android frame layer |
CN113923507A (en) * | 2021-12-13 | 2022-01-11 | 北京蔚领时代科技有限公司 | Low-delay video rendering method and device for Android terminal |
CN113923507B (en) * | 2021-12-13 | 2022-07-22 | 北京蔚领时代科技有限公司 | Low-delay video rendering method and device for Android terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9478256B1 (en) | Video editing processor for video cloud server | |
US20180192063A1 (en) | Method and System for Virtual Reality (VR) Video Transcode By Extracting Residual From Different Resolutions | |
US9363542B2 (en) | Techniques to provide an enhanced video replay | |
CN102724492B (en) | Method and system for transmitting and playing video images | |
US20150381925A1 (en) | Smart pause for neutral facial expression | |
US20170163992A1 (en) | Video compressing and playing method and device | |
JP6745979B2 (en) | Encoding method and apparatus, and decoding method and apparatus | |
US11250863B2 (en) | Frame coding for spatial audio data | |
US20180242030A1 (en) | Encoding device and method, reproduction device and method, and program | |
CN104602127A (en) | Method and system for synchronously playing directed videos and video director | |
CN105898320A (en) | Panorama video decoding method and device and terminal equipment based on Android platform | |
JP2017510114A (en) | Method and apparatus for generating metadata for video optimization | |
US12039693B2 (en) | Apparatus and method of controlling the same | |
WO2019192481A1 (en) | Media information processing method, related device, and computer storage medium | |
JP6809463B2 (en) | Information processing equipment, information processing methods, and programs | |
JP2012004835A (en) | Reproducing apparatus, and control method and program thereof | |
US20140178041A1 (en) | Content-sensitive media playback | |
US20160295256A1 (en) | Digital content streaming from digital tv broadcast | |
CN105681893A (en) | Method and device for decoding stream media video data | |
CN108989905B (en) | Media stream control method and device, computing equipment and storage medium | |
KR102650138B1 (en) | Display apparatus, method for controlling thereof and recording media thereof | |
CN103796049A (en) | Dual core-based smart media player system design method | |
US20170257679A1 (en) | Multi-audio annotation | |
KR20220067771A (en) | Image processing device and image playing device for high resolution image streaming and operaing method of thereof | |
WO2014106212A1 (en) | Methods and apparatus for seeking within recorded media stored on a set-top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |