CN109151567A - The treating method and apparatus of video data, computer readable storage medium - Google Patents

The treating method and apparatus of video data, computer readable storage medium Download PDF

Info

Publication number
CN109151567A
CN109151567A CN201710465506.3A CN201710465506A CN109151567A CN 109151567 A CN109151567 A CN 109151567A CN 201710465506 A CN201710465506 A CN 201710465506A CN 109151567 A CN109151567 A CN 109151567A
Authority
CN
China
Prior art keywords
video
data
video data
processing
address
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
Application number
CN201710465506.3A
Other languages
Chinese (zh)
Inventor
张佳亮
翟剑峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Unfamiliar Information Technology Co Ltd
Original Assignee
Beijing Unfamiliar Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Unfamiliar Information Technology Co Ltd filed Critical Beijing Unfamiliar Information Technology Co Ltd
Priority to CN201710465506.3A priority Critical patent/CN109151567A/en
Publication of CN109151567A publication Critical patent/CN109151567A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Abstract

The invention discloses a kind for the treatment of method and apparatus of video data, computer readable storage medium.The processing method of the video data includes: to obtain the address of video source data, according to the address of the video source data, carries out texture OES texture mapping to the video source data, obtains the OES texture of the address for indexing the video source data;Using the OES texture, the video source data is read, and special effect processing is carried out to the video source data, the video data after obtaining special effect processing;Video data after the special effect processing is encoded, the video data after sending coding.Using the processing method of the video data in the embodiment of the present invention, the video that can efficiently treat sharing carries out special effect processing.

Description

The treating method and apparatus of video data, computer readable storage medium
Technical field
The present invention relates to video technique fields more particularly to a kind for the treatment of method and apparatus of video data, computer can Read storage medium.
Background technique
Currently, with the development of mobile internet, carrying out the new shape that video sharing has become information propagation on the internet State.For the video tastes for improving user, it usually needs the video for treating sharing carries out special effect processing.Wherein, the view of sharing is treated Frequency carries out special effect processing and refers to video progress editing and processing, rendering processing and/or Frequency mixing processing etc..
In the prior art, when the video for treating sharing carries out special effect processing, video processor is needed to video source data Carry out accessing operation.But since the data volume of video source data is bigger than normal, accessing operation is being carried out to video source data When, need largely to occupy the memory source of video processor and the transfer resource of network, to reduce the more of video processor The performance of task parallel processing.
Summary of the invention
The embodiment of the invention provides a kind for the treatment of method and apparatus of video data, computer readable storage medium, energy It does not enough need to carry out accessing operation to video source data, so that it may which the video for treating sharing carries out special effect processing, to improve The performance of the multi-task parallel processing of video processor.
In a first aspect, the embodiment of the invention provides a kind of processing methods of video data, comprising:
The address for obtaining video source data carries out line to the video source data according to the address of the video source data OES texture mapping is managed, the OES texture of the address for indexing the video source data is obtained;
Using the OES texture, the video source data is read, and the video source data is carried out at special efficacy Reason, the video data after obtaining special effect processing;
Video data after the special effect processing is encoded, the video data after sending coding.
In some embodiments of first aspect, the address according to the video source data, to the video source number According to OES texture mapping is carried out, the OES texture of the address for indexing the video source data is obtained, comprising:
Newly-built OES texture;
By in the newly-built OES texture of the address write-in of the video source data, obtain for indexing the video source The OES texture of the address of data.
It is described to utilize the OES texture in some embodiments of first aspect, the video source data is read, Include:
From the OES texture, the address of the video source data is read;
From the address of the video source data, the video source data is read.
It is described that special effect processing is carried out to the video source data in some embodiments of first aspect, it obtains at special efficacy Video data after reason, comprising:
Editing and processing and/or rendering processing are carried out to the video source data, after obtaining editing and processing and/or rendering processing Video data;
By the editing and processing and/or rendering treated video data, as the video data after the special effect processing.
In some embodiments of first aspect, the video source data includes the source number of the video more than two or three According to;
It is described that special effect processing is carried out to the video source data, the video data after obtaining special effect processing, comprising:
Respectively from the OES texture of the address of the source data for indexing corresponding video more than two or three, Read the address of the source data of each video;
Respectively from the address of the source data of each video, the source data of each video is read;
The source data of each video is subjected to mixed screen processing, mixed screen is obtained treated video data, described will mix Screen treated video data is as the video data after the special effect processing.
Second aspect, the embodiment of the invention provides a kind of processing methods of video data, comprising:
Video data after received coding is decoded, decoded video data is obtained;
The address for obtaining the decoded video data, according to the address of the decoded video data, to described Decoded video data carries out surface texture mapping, obtains the ground for indexing the decoded video data The surface texture of location;
Using the surface texture, the decoded video data is read, and to the decoded video Data carry out special effect processing, the video data after obtaining special effect processing;
Video data after playing the special effect processing.
In some embodiments of second aspect, the address according to the decoded video data, to the solution Video data after code carries out surface texture mapping, obtains the address for indexing the decoded video data Surface texture, comprising:
Newly-built surface texture;
By in the newly-built surface texture of the address write-in of the decoded video data, obtain for indexing The surface texture of the address of the decoded video data.
The third aspect, the embodiment of the invention provides a kind of processing units of video data, including the first mapping block, One processing module and coding module.Wherein,
First mapping block, it is right according to the address of the video source data for obtaining the address of video source data The video source data carries out OES texture mapping, obtains the OES of the address for indexing the video source data texture;
The first processing module reads the video source data, and to described for utilizing the OES texture Video source data carries out special effect processing, the video data after obtaining special effect processing;
The coding module, for being encoded to the video data after the special effect processing, the video after sending coding Data.
In some embodiments of the third aspect, first mapping block includes that the first newly-built unit and the first write-in are single Member.Wherein,
The first newly-built unit, for creating OES texture;
First writing unit is obtained for the address of the video source data to be written in newly-built OES texture To the OES texture of the address for indexing the video source data.
In some embodiments of the third aspect, the first processing module includes the first reading unit, the second reading list Member and first processing units.Wherein,
First reading unit, for reading the address of the video source data from the OES texture;
Second reading unit, for reading the video source data from the address of the video source data;
The first processing units, for carrying out special effect processing to the video source data, the view after obtaining special effect processing Frequency evidence.
In some embodiments of the third aspect, the first processing module further includes edit cell and/or rendering unit. Wherein,
The edit cell, for carrying out editing and processing to the video source data, the video counts after obtaining editing and processing According to using the video data after the editing and processing as the video data after the special effect processing;
The rendering unit obtains rendering treated video counts for carrying out rendering processing to the video source data According to using rendering treated the video data as the video data after the special effect processing.
In some embodiments of the third aspect, the first processing module further includes mixing unit, the mixing unit Including the first reading subunit, the second reading subunit and mixing subelement;
First reading subunit, for respectively from the video source data of the video more than two or three In OES texture, the address for belonging to the video source data of each video is read;
Second reading subunit, for from the address of the source data of each video, reading each video respectively Source data;
The mixing subelement, for the source data of each video to be carried out mixed screen processing, after obtaining mixed screen processing Video data, using the mixed screen treated video data as the video data after the special effect processing.
In some embodiments of the third aspect, the processing unit of the video data further includes decoder module, second reflects Penetrate module, Second processing module and playing module.Wherein,
The decoder module obtains decoded video counts for being decoded to the video data after received coding According to;
Second mapping block, for obtaining the address of the decoded video data, according to described decoded The address of video data carries out surface texture mapping to the decoded video data, obtains described for indexing The surface texture of the address of decoded video data;
The Second processing module reads the decoded video counts for utilizing the surface texture According to, and special effect processing is carried out to the decoded video data, the video data after obtaining special effect processing;
The playing module, for playing the video data after the special effect processing.
In some embodiments of the third aspect, second mapping block includes that the second newly-built unit and the second write-in are single Member.Wherein,
The second newly-built unit, for creating surface texture;
Second writing unit, the surface newly-built for the address write-in by the decoded video data In texture, the surface texture of the address for indexing the decoded video data is obtained.
Fourth aspect, the embodiment of the invention provides a kind of processing unit of video data, including memory, processor and The program that can be run on a memory and on a processor is stored, the processor realizes above-described embodiment when executing described program Described in method.
5th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with program, described Method described in above-described embodiment is realized when program is executed by processor.
According to an embodiment of the invention, when the video for treating sharing carries out special effect processing, it can be by obtaining video counts According to address, and according to the address of video data to video data carry out texture OES texture mapping or surface The mode of texture mapping, obtains OES texture or the surface texture of the address for indexing video data. Then OES texture or surface texture are utilized, it will be able to reading video data, and to the video data of reading Carry out special effect processing.
It can be seen from the above, the information transmitted in the embodiment of the present invention not instead of video data, the address of video data.? When treating the video of sharing and carrying out special effect processing, according to video counts to be processed can be indexed in the address of video data According to without carrying out accessing operation to video data, also there is no need to occupy the memory source of video processor and network Transfer resource, and then can be improved the performance of the multi-task parallel processing of video processor.
Detailed description of the invention
This hair may be better understood from the description with reference to the accompanying drawing to the specific embodiment of the embodiment of the present invention Wherein, the same or similar appended drawing reference indicates the same or similar feature to bright embodiment.
Fig. 1 is the schematic diagram in the prior art for carrying out video on the internet and sharing;
Fig. 2 is the flow diagram of the method for the processing of video data provided by one embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides video data processing method flow diagram;
Fig. 4 is the flow diagram of the method for the processing for the video data that yet another embodiment of the invention provides;
Fig. 5 is the flow diagram of the method for the processing for the video data that further embodiment of this invention provides;
Fig. 6 is the structural schematic diagram of the processing unit of video data provided by one embodiment of the present invention;
Fig. 7 be another embodiment of the present invention provides video data processing unit structural schematic diagram;
Fig. 8 is the structural schematic diagram of the processing unit for the video data that yet another embodiment of the invention provides;
Fig. 9 is the structural schematic diagram of the processing unit for the video data that further embodiment of this invention provides.
Specific embodiment
The feature and exemplary embodiment of the various aspects of the embodiment of the present invention is described more fully below.Following detailed In description, many details are proposed, in order to provide the comprehensive understanding to the embodiment of the present invention.But for this field skill It will be apparent that the embodiment of the present invention can be in the case where not needing some details in these details for art personnel Implement.The description of embodiment is implemented the present invention just for the sake of being provided by showing the example of the embodiment of the present invention below Example is better understood.The embodiment of the present invention is never limited to any concrete configuration and algorithm set forth below, but is not taking off Any modification, replacement and the improvement of element, component and algorithm are covered under the premise of from the spirit of the embodiment of the present invention.In attached drawing In following description, well known structure and technology is not shown, to avoid causing unnecessary mould to the embodiment of the present invention Paste.
The treating method and apparatus of video data in the embodiment of the present invention, applied to the shared behaviour of video on the internet Make.It can realize in the case where saving the memory source and network transmission resource of video processor to video to be shared Special effect processing.Video after special effect processing can be used in being sent on network or in client terminal playing.
Fig. 1 is the schematic diagram in the prior art for carrying out video on the internet and sharing.Referring to Fig. 1, in a kind of applied field Jing Zhong, user A recorded one section of video using videoconference client, and carry out special effect processing to the video of recording, then will Video after special effect processing shares on network.In another application scenarios, user B is using videoconference client in network The video being shared plays out, and before being played, needs first to carry out special effect processing to the video being shared.
It is directed to two kinds of application scenarios separately below, technical solution in the embodiment of the present invention is described in detail.
Fig. 2 is the flow diagram of the method for the processing of video data provided by one embodiment of the present invention.The video counts According to processing method be used for video sending end.As shown in Fig. 2, the method for the processing of the video data includes step 201- step 203。
In step 201, the address for obtaining video source data, according to the address of video source data, to video source data into Row OES texture mapping, obtains the OES texture of the address for indexing video source data.
Wherein, video source data can be yuv format data.OES texture mapping is one kind of texture mapping mode. The mapping address information of video source data can be data texturing by OES texture, and this can be carried to video source number According to the data texturing of address information be transmitted to specified position.For example, video processor, to carry out special efficacy to video source data Processing.
OES texture mapping can pass through Open GL (Open Graphics Library, open graphic data base) Open GL ES subset complete.Open GL is a graphic package interface for profession, is defined across programming language and cross-platform Programming interface, can be used for 3-D graphic, can be used for X-Y scheme, easily underlying graphics library can be adjusted With.
In step 202, using OES texture, video source data is read, and video source data is carried out at special efficacy Reason, the video data after obtaining special effect processing.
In step 203, the video data after special effect processing is encoded, the video data after sending coding.
Wherein, the video data after coding can be H264 formatted data.H264 formatted data is transmitted by H264 data Video data on protocol realization network is shared.
According to an embodiment of the invention, when the video for treating sharing carries out special effect processing, it can be by obtaining video source The address of data, and according to the OES texture of mapping, obtain the OES texture of the address for indexing video source data. Then OES texture is utilized, it will be able to read video source data, and special effect processing is carried out to the video source data of reading.
It can be seen from the above, video data, the address of video data are not transmitted in the embodiment of the present invention directly.Right When video wait share carries out special effect processing, according to video data to be processed can be indexed in the address of video data, Without carrying out accessing operation to video data, also there is no need to occupy the transmission of the memory source of video processor and network Resource, and then can be improved the performance of the multi-task parallel processing of video processor.
Further, since in the embodiment of the present invention when the video for treating sharing carries out special effect processing, according to video data Video data to be processed can be indexed in address, without carrying out accessing operation to video data, this improves The speed of special effect processing is carried out to video data.
In addition, since the processing method of the video data in the embodiment of the present invention needs to realize by Open GL standard, And any Android system all supports Open GL standard, and therefore, the processing method of the video data in the embodiment of the present invention, energy Enough adapt to the Android device of disposable type.
It should be noted that the processing method of the video data in the embodiment of the present invention, is not limited to video to be shared, And the video of any required processing can be suitable for.
Fig. 3 be another embodiment of the present invention provides video data processing method flow diagram.The video counts According to processing method be used for video sending end.Fig. 3 the difference from Fig. 2 is that, the step 201 in Fig. 2 can be refined as Fig. 3 In step 2011-2013, Fig. 2 in step 202 can be refined as the step 2021-2023 in Fig. 3.
In step 2011, the source address of video data is obtained.
In step 2012, OES texture is created.
It is a two-dimensional array by the address of cache of source data as a kind of mode, each single item in array is known as one Texture Points (texel).It alternatively, can also be by the address of cache of source data to non-two-dimensional object, such as sphere Or on others 3D object model.
In step 2013, by the newly-built OES texture of the address write-in of video source data, obtain for indexing view The OES texture of the address of frequency source data.
In step 2021, from OES texture, the address of video source data is read.
Wherein, OES texture carries the data texturing of the address information of video source data.
In step 2021, from the address of video source data, video source data is read.
In steps 2022, editing and processing and/or rendering are carried out to video source data and handled, obtain editing and processing and/or Rendering treated video data.By editing and processing and/or rendering treated video data, as the video after special effect processing Data.
Wherein, editing and processing and/or rendering processing, are two kinds of processing modes of special effect processing.About editing and processing and/or The processing method of processing is rendered, those skilled in the art may refer to the prior art of related fields, herein without specifically It is bright.
Another processing mode of special effect processing is mixed screen processing, it usually needs to the source of the video more than two or three Data carry out Frequency mixing processing.
To carry out special effect processing to video source data, can be used to index corresponding video from more than two or three respectively Source data address OES texture in, read the address of the source data of each video;Respectively from the source number of each video According to address in, read the source data of each video;And the source data of each video is subjected to mixed screen processing, it obtains at mixed screen Video data after reason, using mixed screen treated video data as the video data after special effect processing.
Fig. 4 is the flow diagram of the method for the processing for the video data that further embodiment of this invention provides.The video counts According to processing method be used for video receiver.As shown in figure 4, the method for the processing of the video data includes step 401- step 404。
In step 401, the video data after received coding is decoded, obtains decoded video data.
In step 402, the address for obtaining decoded video data, it is right according to the address of decoded video data Decoded video data carries out surface texture mapping, obtains the address for indexing decoded video data surface texture。
Wherein, surface texture mapping is also one kind of texture mapping mode.Surface texture can be incited somebody to action The mapping address information of decoded video data is data texturing, and this can be carried to the ground of decoded video data The data texturing of location information is transmitted to specified position, for example, video processor, to carry out special efficacy to decoded video data Processing.Surface texture mapping can also be completed by Open GL.
In step 403, using surface texture, decoded video data is read, and to decoded video Data carry out special effect processing, the video data after obtaining special effect processing.
In step 404, the video data after special effect processing is played.
According to an embodiment of the invention, when the video for treating sharing carries out special effect processing, after capable of being decoded by acquisition The address of video data obtain the ground for indexing decoded video data and according to the surface texture of mapping The surface texture of location.Then surface texture is utilized, it will be able to read decoded video data, and to reading The decoded video data taken carries out special effect processing.
It can be seen from the above, when the video for treating sharing carries out special effect processing, the information of transmitting not instead of video data, The address of video data.When the video for treating sharing carries out special effect processing, can be indexed according in the address of video data To video data to be processed, without carrying out accessing operation to video data, also there is no need to occupy video processor The transfer resource of memory source and network, and then can be improved the performance of the multi-task parallel processing of video processor.
Fig. 5 be another embodiment of the present invention provides video data processing method flow diagram.The video counts According to processing method be used for video receiver.Fig. 5 the difference from Fig. 4 is that, the step 401 in Fig. 4 can be refined as Fig. 5 In step 4021-4023.
In step 4021, the address of decoded video data is obtained.
In step 4022, surface texture is created.
In step 4023, by the newly-built surface texture of the address write-in of decoded video data, obtain For indexing the surface texture of the address of decoded video data.
It similarly, is a two-dimensional array by the address of cache of source data as a kind of mode, each single item in array claims For a Texture Points (texel).Alternatively, can also by the address of cache of source data to non-two-dimensional object, On sphere or others 3D object model.
It should be noted that also including editing and processing to the special effect processing of decoded video data in video receiver And/or rendering processing.Editing and processing specially is carried out to decoded video data and/or rendering is handled, obtains editing and processing And/or rendering treated video data.By editing and processing and/or rendering treated video data, after special effect processing Video data.
It also further include special mixed screen processing to the special effect processing of decoded video data in video receiver, it usually needs right Decoded video data more than two or three carries out Frequency mixing processing.
To carry out special effect processing to decoded video data, index pair can be used for from more than two or three respectively It answers in the surface texture of the address of decoded video data, reads the decoded video data of each video Address;Respectively from the address of the decoded video data of each video, the decoded video data of each video is read; And the decoded video data of each video is subjected to mixed screen processing, mixed screen is obtained treated video data, by mixed screen Treated video data is as the video data after special effect processing.
Fig. 6 is the processing unit of video data provided by one embodiment of the present invention.As shown in fig. 6, the place of video data Managing device includes: the first mapping block 501, first processing module 502 and coding module 503.
Wherein, the first mapping block 501, it is right according to the address of video source data for obtaining the address of video source data Video source data carries out OES texture mapping, obtains the OES texture of the address for indexing video source data.
First processing module 502 reads video source data, and carry out to video source data for utilizing OES texture Special effect processing, the video data after obtaining special effect processing.
Coding module 503, for being encoded to the video data after special effect processing, the video data after sending coding.
When the video for treating sharing carries out special effect processing, first processing module 502 can be by obtaining the first mapping mould The address of video source data in block 501, and according to the OES texture of mapping, obtain the address for indexing video source data OES texture.Then utilize OES texture, it will be able to read video source data, and to the video source data of reading into Row special effect processing.
It can be seen from the above, the information transmitted in the embodiment of the present invention not instead of video data, the address of video data.? When treating the video of sharing and carrying out special effect processing, according to video counts to be processed can be indexed in the address of video data According to without carrying out accessing operation to video data, also there is no need to occupy the memory source of video processor and network Transfer resource, and then can be improved the performance of the multi-task parallel processing of video processor.
Fig. 7 be another embodiment of the present invention provides video data processing unit.Fig. 7 the difference from Fig. 6 is that, The the first newly-built unit 5011 and the first writing unit 5012 that the first mapping block 501 in Fig. 6 can be refined as in Fig. 7;In Fig. 6 First processing module 502 can be refined as the first reading unit 5021 in Fig. 7, the second reading unit 5022 and the first processing Unit 5023.
Wherein, the first newly-built unit 5011, for creating OES texture.
First writing unit 5012 is used for the address of video source data to be written in newly-built OES texture OES texture in the address of index video source data.
First reading unit 5021, for reading the address of video source data from OES texture.
Second reading unit 5022, for reading video source data from the address of video source data.
First processing units 5023, for carrying out special effect processing to video source data, the video counts after obtaining special effect processing According to.
Fig. 8 is the processing unit for the video data that further embodiment of this invention provides.Fig. 8 the difference from Fig. 6 is that, First processing module 502 in Fig. 6 can be refined as edit cell 5024, rendering unit 5025 and mixing unit in Fig. 8 5026。
Wherein, edit cell 5024, for carrying out editing and processing to video source data, the video counts after obtaining editing and processing According to using the video data after editing and processing as the video data after special effect processing.
Rendering unit 5025 obtains rendering treated video data for carrying out rendering processing to video source data, will Rendering treated video data is as the video data after special effect processing.
Mixing unit 5026 further includes the first reading subunit, the second reading subunit and mixing subelement.
Wherein, the first reading subunit, for respectively from the OES of the video source data of the video more than two or three In texture, the address for belonging to the video source data of each video is read.
Second reading subunit, for from the address of the source data of each video, reading the source number of each video respectively According to.
It is mixed subelement, for the source data of each video to be carried out mixed screen processing, obtains mixed screen treated video counts According to using mixed screen treated video data as the video data after special effect processing.
Fig. 9 be another embodiment of the present invention provides video data processing unit.Fig. 9 the difference from Fig. 6 is that, Fig. 9 further includes the processing unit of the video data positioned at video receiver.Positioned at the processing dress of the video data of video receiver Set includes: including decoder module 504, the second mapping block 505, Second processing module 506 and playing module 507.
Wherein, decoder module 504 obtain decoded view for being decoded to the video data after received coding Frequency evidence.
Second mapping block 505, for obtaining the address of decoded video data, according to decoded video data Address carries out surface texture mapping to decoded video data, obtains for indexing decoded video data The surface texture of address.
Second processing module 506 reads decoded video data, and to decoding for utilizing surface texture Video data afterwards carries out special effect processing, the video data after obtaining special effect processing.
Playing module 507, for playing the video data after special effect processing.
When the video for treating sharing carries out special effect processing, Second processing module 506 can be by obtaining the second mapping mould The address of decoded video data in block 505, and according to the surface texture of mapping, after obtaining for indexing decoding Video data address surface texture.Then surface texture is utilized, it will be able to read decoded Video data, and special effect processing is carried out to the decoded video data of reading.
It can be seen from the above, the information transmitted in the embodiment of the present invention not instead of video data, the address of video data.? When treating the video of sharing and carrying out special effect processing, according to video counts to be processed can be indexed in the address of video data According to without carrying out accessing operation to video data, also there is no need to occupy the memory source of video processor and network Transfer resource, and then can be improved the performance of the multi-task parallel processing of video processor.
Referring to Fig. 9, the second mapping block 505 can be refined as the second newly-built unit 5051 and the second writing unit 5052.
Wherein, the second newly-built unit 5051, for creating surface texture.
Second writing unit 5052, the surface newly-built for the address write-in by decoded video data In texture, the surface texture of the address for indexing decoded video data is obtained.
It should be noted that the processing unit of video data provided in an embodiment of the present invention, including memory, processor and The program that can be run on a memory and on a processor is stored, processor is for realizing side described above when executing program Method.
It should also be noted that, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with journey Sequence, for realizing method as discussed above when program is executed by processor.
All the embodiments in this specification are described in a progressive manner, the same or similar between each embodiment Part may refer to each other, and each embodiment focuses on the differences from other embodiments.Device is implemented For example, related place may refer to the declaratives of embodiment of the method.The embodiment of the present invention is not limited to described above And particular step shown in figure and structure.Those skilled in the art can be in the spirit for understanding the embodiment of the present invention Afterwards, it is variously modified, modification and addition, or the sequence between changing the step.Also, it for brevity, omits here To the detailed description of known method technology.
Functional block shown in above structural block diagram can be implemented as hardware, software, firmware or their combination.When When realizing in hardware, electronic circuit, specific integrated circuit (ASIC), firmware appropriate, plug-in unit, function may, for example, be Card etc..When being realized with software mode, the element of the embodiment of the present invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.

Claims (16)

1. a kind of processing method of video data characterized by comprising
The address for obtaining video source data carries out texture OES to the video source data according to the address of the video source data Texture mapping, obtains the OES texture of the address for indexing the video source data;
Using the OES texture, the video source data is read, and special effect processing is carried out to the video source data, is obtained Video data after to special effect processing;
Video data after the special effect processing is encoded, the video data after sending coding.
2. processing method according to claim 1, which is characterized in that the address according to the video source data, it is right The video source data carries out OES texture mapping, obtains the OES of the address for indexing the video source data Texture, comprising:
Newly-built OES texture;
By in the newly-built OES texture of the address write-in of the video source data, obtain for indexing the video source data Address OES texture.
3. processing method according to claim 1, which is characterized in that it is described to utilize the OES texture, described in reading Video source data, comprising:
From the OES texture, the address of the video source data is read;
From the address of the video source data, the video source data is read.
4. processing method according to claim 1, which is characterized in that described to be carried out at special efficacy to the video source data Reason, the video data after obtaining special effect processing, comprising:
To the video source data carry out editing and processing and/or rendering processing, obtain editing and processing and/or rendering treated view Frequency evidence;
By the editing and processing and/or rendering treated video data, as the video data after the special effect processing.
5. processing method according to claim 1, which is characterized in that the video source data includes more than two or three Video source data;
It is described that special effect processing is carried out to the video source data, the video data after obtaining special effect processing, comprising:
Respectively from the OES texture of the address of the source data for indexing corresponding video more than two or three, read The address of the source data of each video;
Respectively from the address of the source data of each video, the source data of each video is read;
The source data of each video is subjected to mixed screen processing, mixed screen is obtained treated video data, at the mixed screen Video data after reason is as the video data after the special effect processing.
6. a kind of processing method of video data characterized by comprising
Video data after received coding is decoded, decoded video data is obtained;
The address for obtaining the decoded video data, according to the address of the decoded video data, to the decoding Video data afterwards carries out surface texture mapping, obtains the address for indexing the decoded video data surface texture;
Using the surface texture, the decoded video data is read, and to the decoded video data Carry out special effect processing, the video data after obtaining special effect processing;
Video data after playing the special effect processing.
7. processing method according to claim 6, which is characterized in that the ground according to the decoded video data Location carries out surface texture mapping to the decoded video data, obtains for indexing the decoded video The surface texture of the address of data, comprising:
Newly-built surface texture;
By in the newly-built surface texture of the address write-in of the decoded video data, obtain described for indexing The surface texture of the address of decoded video data.
8. a kind of processing unit of video data, which is characterized in that including the first mapping block, first processing module and coding mould Block, wherein
First mapping block, for obtaining the address of video source data, according to the address of the video source data, to described Video source data carries out OES texture mapping, obtains the OES texture of the address for indexing the video source data;
The first processing module reads the video source data, and to the video for utilizing the OES texture Source data carries out special effect processing, the video data after obtaining special effect processing;
The coding module, for being encoded to the video data after the special effect processing, the video data after sending coding.
9. the processing unit of video data according to claim 8, which is characterized in that first mapping block includes the One newly-built unit and the first writing unit;Wherein,
The first newly-built unit, for creating OES texture;
First writing unit is used for the address of the video source data to be written in newly-built OES texture OES texture in the address for indexing the video source data.
10. the processing unit of video data according to claim 8, which is characterized in that the first processing module includes First reading unit, the second reading unit and first processing units;Wherein,
First reading unit, for reading the address of the video source data from the OES texture;
Second reading unit, for reading the video source data from the address of the video source data;
The first processing units, for carrying out special effect processing to the video source data, the video counts after obtaining special effect processing According to.
11. the processing unit of video data according to claim 8, which is characterized in that the first processing module is also wrapped Include edit cell and/or rendering unit;Wherein,
The edit cell, for carrying out editing and processing to the video source data, the video data after obtaining editing and processing will Video data after the editing and processing is as the video data after the special effect processing;
The rendering unit obtains rendering treated video data for carrying out rendering processing to the video source data, will Rendering treated the video data is as the video data after the special effect processing.
12. the processing unit of video data according to claim 8, which is characterized in that the first processing module is also wrapped Mixing unit is included, the mixing unit includes the first reading subunit, the second reading subunit and mixing subelement;
First reading subunit, for respectively from the OES of the video source data of the video more than two or three In texture, the address for belonging to the video source data of each video is read;
Second reading subunit, for from the address of the source data of each video, reading the source number of each video respectively According to;
The mixing subelement obtains mixed screen treated view for the source data of each video to be carried out mixed screen processing Frequency evidence, using the mixed screen treated video data as the video data after the special effect processing.
13. the processing unit of video data according to claim 8, which is characterized in that the processing of the video data fills Set further includes decoder module, the second mapping block, Second processing module and playing module;Wherein,
The decoder module obtains decoded video data for being decoded to the video data after received coding;
Second mapping block, for obtaining the address of the decoded video data, according to the decoded video The address of data carries out surface texture mapping to the decoded video data, obtains for indexing the decoding The surface texture of the address of video data afterwards;
The Second processing module, for reading the decoded video data using the surface texture, and Special effect processing is carried out to the decoded video data, the video data after obtaining special effect processing;
The playing module, for playing the video data after the special effect processing.
14. the processing unit of video data according to claim 13, which is characterized in that second mapping block includes Second newly-built unit and the second writing unit;Wherein,
The second newly-built unit, for creating surface texture;
Second writing unit, the surface newly-built for the address write-in by the decoded video data In texture, the surface texture of the address for indexing the decoded video data is obtained.
15. a kind of processing unit of video data, including memory, processor and storage are on a memory and can be on a processor The program of operation, which is characterized in that the processor is realized as described in claim 1-5 any one when executing described program Method, alternatively, method according to claim 6 or 7.
16. a kind of computer readable storage medium, is stored thereon with program, which is characterized in that described program is executed by processor Method of the Shi Shixian as described in claim 1-5 any one, alternatively, method according to claim 6 or 7.
CN201710465506.3A 2017-06-19 2017-06-19 The treating method and apparatus of video data, computer readable storage medium Pending CN109151567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710465506.3A CN109151567A (en) 2017-06-19 2017-06-19 The treating method and apparatus of video data, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710465506.3A CN109151567A (en) 2017-06-19 2017-06-19 The treating method and apparatus of video data, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109151567A true CN109151567A (en) 2019-01-04

Family

ID=64804347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710465506.3A Pending CN109151567A (en) 2017-06-19 2017-06-19 The treating method and apparatus of video data, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109151567A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8817021B1 (en) * 2011-11-11 2014-08-26 Google Inc. System for writing, interpreting, and translating three-dimensional (3D) scenes
CN105096373A (en) * 2015-06-30 2015-11-25 华为技术有限公司 Media content rendering method, user device and rendering system
CN106127673A (en) * 2016-07-19 2016-11-16 腾讯科技(深圳)有限公司 A kind of method for processing video frequency, device and computer equipment
CN106230841A (en) * 2016-08-04 2016-12-14 深圳响巢看看信息技术有限公司 A kind of video U.S. face and the method for plug-flow in real time in network direct broadcasting based on terminal
CN106296819A (en) * 2016-08-12 2017-01-04 北京航空航天大学 A kind of panoramic video player based on Intelligent set top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8817021B1 (en) * 2011-11-11 2014-08-26 Google Inc. System for writing, interpreting, and translating three-dimensional (3D) scenes
CN105096373A (en) * 2015-06-30 2015-11-25 华为技术有限公司 Media content rendering method, user device and rendering system
CN106127673A (en) * 2016-07-19 2016-11-16 腾讯科技(深圳)有限公司 A kind of method for processing video frequency, device and computer equipment
CN106230841A (en) * 2016-08-04 2016-12-14 深圳响巢看看信息技术有限公司 A kind of video U.S. face and the method for plug-flow in real time in network direct broadcasting based on terminal
CN106296819A (en) * 2016-08-12 2017-01-04 北京航空航天大学 A kind of panoramic video player based on Intelligent set top box

Similar Documents

Publication Publication Date Title
CN104780378B (en) A kind of method for decoding video, device and player
CN103246529B (en) Update and push the method, apparatus and system of navigation bar
CN108521608A (en) Processing method, device, terminal and the storage medium of video file
CN102981990B (en) Data transmission method and device of terminal equipment with Androild platform
CN113457160B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN106131550B (en) Method and device for playing multimedia file
CN105791952B (en) The screenshot method and device and electronic equipment of streaming media video data
CN111062858A (en) Efficient rendering-ahead method, device and computer storage medium
CN105208406A (en) Video data providing method and apparatus, video playing method and apparatuses, and video playing system
CN109862381A (en) Promotion method, system, device and storage medium based on dynamic video poster
CN110876078B (en) Animation picture processing method and device, storage medium and processor
CN110022317A (en) Information transferring method, system and device based on figure
CN107911700A (en) A kind of hardware coding/decoding method, decoding device and storage medium based on virtualization
CN110719526B (en) Video playing method and device
CN111355978B (en) Video file processing method and device, mobile terminal and storage medium
CN105681893B (en) The coding/decoding method and device of streaming media video data
CN110874476B (en) Data processing system, method, storage medium, and processor
CN111346377A (en) Recording and playback method and device for online game, server and terminal
CN109151567A (en) The treating method and apparatus of video data, computer readable storage medium
CN110034828A (en) The audio collection method and server of cloud application
CN111355997B (en) Video file generation method and device, mobile terminal and storage medium
CN111355960B (en) Method and device for synthesizing video file, mobile terminal and storage medium
CN109379591A (en) Picture code-transferring method, electronic device and computer readable storage medium
CN105992055A (en) Video decoding method and device
CN113099270B (en) File storage method, decoding method, device, storage medium and electronic 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: 20190104