CN109547849B - Video information playing method, device, terminal and computer storage medium - Google Patents
Video information playing method, device, terminal and computer storage medium Download PDFInfo
- Publication number
- CN109547849B CN109547849B CN201710861461.1A CN201710861461A CN109547849B CN 109547849 B CN109547849 B CN 109547849B CN 201710861461 A CN201710861461 A CN 201710861461A CN 109547849 B CN109547849 B CN 109547849B
- Authority
- CN
- China
- Prior art keywords
- video information
- video
- picture
- channel
- format
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000012545 processing Methods 0.000 claims description 62
- 238000006243 chemical reaction Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 10
- 239000003086 colorant Substances 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 11
- 230000003993 interaction Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- 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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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/812—Monomedia components thereof involving advertisement data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a video information playing method, which comprises the following steps: receiving a releasing request for releasing video information; the release request carries a video identifier; acquiring a video file to be released from an information base to be released based on the video identification; acquiring video information of a transparent channel in a video file to be launched to obtain first video information, and acquiring video information of a non-transparent channel in the video file to be launched to obtain second video information; converting the format of the first video information based on the attribute of the first video information to obtain third video information; converting the format of the second video information based on the attribute of the second video information to obtain fourth video information; merging the third video information and the fourth video information to obtain target video information; and displaying the target video information. The embodiment of the invention also discloses a video information playing device, a terminal and a computer storage medium.
Description
Technical Field
The present invention relates to image processing technologies in the field of communications, and in particular, to a method, an apparatus, a terminal, and a computer storage medium for playing video information.
Background
With the continuous development of the technology, it has become a trend to embed advertisements into various video information for playing. This advertising approach requires that the video with transparent areas be displayed in the video feature to approximate the effect of the advertising video being suppressed into the feature video. Video with transparent channels is usually in MOV format, but MOV format has a large file size and is not suitable as advertisement material. The current technology can mainly convert MOV format video into SWF format animation material through SWF conversion tools (swfttools) and display the SWF format animation material by an FLASH PLYAER player.
However, the swftools tool limitation causes that the generated SWF-formatted material can only be the SWF format of AS2.0 and the following versions. Currently, generally used players are versions AS3.0, so that the versions AS2.0 can only be normally viewed, user interaction and control processing compatibility of SWF files are poor, and the obtained SWF-format material files are large.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention desirably provide a video information playing method, apparatus, terminal, and computer storage medium, which solve the problems of poor compatibility and interactivity in the prior art, reduce animation loading time and waiting time, and reduce consumption of traffic.
The technical scheme of the embodiment of the invention is realized as follows:
a video information playing method is provided, and the method comprises the following steps:
receiving a releasing request for releasing video information; the release request carries a video identifier;
acquiring a video file to be released from an information base to be released based on the video identification;
acquiring video information of a non-transparent channel in the video file to be launched to obtain first video information, and acquiring video information of a transparent channel in the video file to be launched to obtain second video information;
converting the format of the first video information based on the attribute of the first video information to obtain third video information;
converting the format of the second video information based on the attribute of the second video information to obtain fourth video information;
and merging the third video information and the fourth video information to obtain target video information.
There is provided a video information playing apparatus, the apparatus including: the device comprises a first receiving unit, a first acquiring unit, a second acquiring unit, a first processing unit, a second processing unit, a merging unit and a display unit, wherein:
the first receiving unit is used for receiving a releasing request for releasing video information; the release request carries a video identifier;
the first obtaining unit is used for obtaining a video file to be released from an information base to be released based on the video identification;
the second obtaining unit is used for obtaining video information of a non-transparent channel in the video file to be launched to obtain first video information, and obtaining video information of a transparent channel in the video file to be launched to obtain second video information;
the first processing unit is configured to perform conversion processing on the first video information based on an attribute of the first video information to obtain third video information;
the second processing unit is configured to perform conversion processing on the second video information based on an attribute of the second video information to obtain fourth video information;
the merging unit is configured to merge the third video information and the fourth video information to obtain target video information;
the display unit is used for displaying the target video information.
There is provided a terminal, the terminal comprising: a memory and a processor, wherein:
the processor is used for receiving a releasing request for releasing video information; the release request carries a video identifier, and a video file to be released is acquired from an information base to be released stored in the memory based on the video identifier; acquiring video information of a non-transparent channel in the video file to be launched to obtain first video information, and acquiring video information of a transparent channel in the video file to be launched to obtain second video information; converting the format of the first video information based on the attribute of the first video information to obtain third video information; converting the format of the second video information based on the attribute of the second video information to obtain fourth video information; merging the third video information and the fourth video information to obtain target video information; and displaying the target video information.
There is provided a computer readable storage medium having stored therein one or more computer programs which, when executed by a processor, implement the steps of the above-described video information playback method.
The video information playing method, device, terminal and computer storage medium provided by the embodiments of the present invention, after receiving a release request for releasing video information, obtain a video file to be released from an information library to be released based on a video identifier in the release request, then obtain first video information of a non-transparent channel in the video file to be released and second video information of a transparent channel in the video file to be released, convert a format of the first video information based on an attribute of the first video information to obtain third video information, convert a format of the second video information based on an attribute of the second video information to obtain fourth video information, and finally combine the third video information and the fourth video information to obtain target video information and display the target video information, so that the video information in the previous MOV format can be converted into video information in another format, the problem of the prior art that compatibility and interactivity are poor is solved, and the size of the file is greatly reduced.
Drawings
Fig. 1 is a schematic flowchart of a video information playing method according to an embodiment of the present invention;
fig. 2 is a schematic view of a picture before and during conversion of a video file to be launched in a format conversion process of video information according to an embodiment of the present invention;
fig. 3 is a schematic view of a picture after format conversion is performed on a video file to be launched in a format conversion process of video information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an advertisement according to an embodiment of the present invention after being played;
fig. 5 is a schematic view of an advertisement delivery process according to an embodiment of the present invention;
fig. 6 is a schematic view of an application environment of a video information playing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video information playing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
An embodiment of the present invention provides a video information playing method, which is shown in fig. 1 and includes the following steps:
The release request carries a video identifier.
And 102, acquiring a video file to be released from the information base to be released based on the video identification.
The video identification can be sent by other terminals or provided by the user to the terminal; for example, the video information may be obtained from a delivery instruction obtained after receiving the delivery instruction for delivering the video information. It should be noted that the release instruction carries a video identifier. The video identifier may be an identifier capable of uniquely identifying the video information, for example, the video identifier may be a name of a video file to be delivered, and the like. After the video identification is obtained, the terminal can obtain the video information with the same identification of the video information as the video identification from the information base to be released, and then obtain the video file to be released. The to-be-released information base may be used to store information to be released, and the to-be-released information base may include various types and formats of information such as text information, video information, and picture information.
And 103, acquiring video information of a non-transparent channel in the video file to be launched to obtain first video information, and acquiring video information of a transparent channel in the video file to be launched to obtain second video information.
In other embodiments of the present invention, the step 103 of obtaining the video information of the non-transparent channel in the video file to be launched to obtain the first video information, and obtaining the video information of the transparent channel in the video file to be launched to obtain the second video information may be implemented by a video information playing device; the processing of the video file to be launched can be a processing mode for obtaining video information of different channels included in the video file to be launched; the video file to be delivered may comprise video information of at least two different channels. The first video information and the second video information may be different video information in the same video file, the first video information may be video information corresponding to a first channel in the video file to be launched, the second video information may be video information corresponding to a second channel in the video file to be launched, and the first channel is different from the second channel.
And 104, converting the format of the first video information based on the attribute of the first video information to obtain third video information.
And 105, converting the format of the second video information based on the attribute of the second video information to obtain fourth video information.
And 106, combining the third video information and the fourth video information to obtain target video information.
And step 107, displaying the target video information.
Wherein, the step 107 of presenting the target video information can be realized by a video information playing apparatus. The obtained target video information may be played in a certain manner, for example, the target video information may be played on a current playing interface in a floating window form during a video program is watched.
It should be noted that, in the embodiment of the present invention, the steps 102 to 104 are not sequentially divided in the execution sequence, and in actual execution, the format may be directly converted to obtain the third video information after the first video information is acquired, and the format may be directly converted to obtain the fourth video information after the second video information is acquired. Of course, the second video information may be acquired first and then the first video information may be acquired.
The video information playing method provided by the embodiment of the invention obtains the video file to be launched from the information base to be launched based on the video identifier in the playing request after receiving the launching request for launching the video information, then obtains the first video information of the non-transparent channel in the video file to be launched and the second video information of the transparent channel in the video file to be launched, converts the format of the first video information based on the attribute of the first video information to obtain the third video information, converts the format of the second video information based on the attribute of the second video information to obtain the fourth video information, and finally combines the third video information and the fourth video information to obtain the target video information for displaying, so that the video information in the previous MOV format can be converted into the video information in another format, and the problems of poor compatibility and interactivity in the prior art are solved, the size of the file is greatly reduced.
Based on the foregoing embodiments, an embodiment of the present invention provides a video information playing method, including the following steps:
step 201, a video information playing device receives a release request for releasing video information.
The release request carries a video identifier.
Step 202, the video information playing device obtains the video file to be released from the information base to be released based on the obtained video identifier.
Step 203, the video information playing device analyzes the video file to be launched, and obtains the video information with color information of the non-transparent channel from the video file to be launched to obtain the first video information.
Wherein, the non-transparent channel may be an RGB color mode (RGB) channel in the video information; the channels other than the non-transparent channel in the first video information may be transparent channels; the first video information may be video information corresponding to RGB channels. The video file to be launched may be analyzed according to the channel, and the video information corresponding to the RGB channel in the video file to be launched is obtained, so as to obtain the first video information.
And step 204, the video information playing device obtains the video information of the transparent channel from the video file to be launched to obtain second video information based on the first video information.
After the first video information is obtained, the video information corresponding to the transparent channel can be obtained from the video file to be launched to obtain the second video information. One possible implementation manner is to obtain other video information except the video information corresponding to the RGB channel in the video file to be launched, and obtain the second video information.
In step 205, the video information playing apparatus sets a first parameter based on the attribute of the first video information.
The input parameters for converting the format of the video information corresponding to the RGB channels may be set according to the attribute of the video information corresponding to the RGB channels. For example, the first parameter may be ffmpeg-y-i source.
Step 206, the video information playing device converts the format of the first video information from the first format to the second format based on the first parameter by using preset video processing software to obtain third video information.
Wherein the first format is different from the second format.
In other embodiments of the present invention, the preset video processing software may be a video processing tool for performing format conversion of video information, for example, a multimedia video processing tool (Fast Forward Mpeg). As shown in 2a in fig. 2, a picture in the video file to be launched, where a1 in the picture shown in 2a in fig. 2 is a picture in the video information of the transparent channel, and a2 is a picture in the video information of the RGB channel; the format of the video file to be launched is MOV format, and the size of the original video file to be launched is assumed to be 65 MB; after the first parameter is input into the Ffmpeg, the video information of the RGB channels in the video file to be launched may be converted into the video information in the MP4 format, and the picture shown in 2b in fig. 2 may be obtained after the format conversion is performed on the picture shown in 2a in fig. 2. The picture in 2b in fig. 2 is removed from the video information of the transparent channel in the original video file to be released, because the video information of the transparent channel is originally invisible, the picture seen in the player is the same as the picture of the original video file to be released, and only the picture of part a3 can be seen. And the size of the video file of the obtained third video information is 225KB, which is obviously much smaller than the size of the original video file to be launched.
Step 207, the video information playing apparatus sets a second parameter based on the attribute of the second video information.
The input parameter for converting the format of the video information corresponding to the transparent channel may be set according to the attribute of the video information corresponding to the transparent channel. For example, the second parameter may be ffmpeg-y-isource.mov-vf "[ in ] format ═ rgba, split [ T1], fifo, lutrgb ═ r ═ maxval: g ═ maxval: b ═ maxval, [ T2] overlay [ out ]; [ T1] fifo, lutrgb ═ r ═ minval, g ═ minval, b ═ minval [ T2] "alpha.mp4.
And step 208, the video information playing device converts the format of the second video information from the first format to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information.
In other embodiments of the present invention, the predetermined video processing software may be the same as the video processing software that processes the first video information. As shown in fig. 2a, a video frame in the video file to be delivered is shown, where the format of the video file to be delivered is MOV format, and it is assumed that the size of the original video file to be delivered is 65 MB; after the second parameter is input in the Ffmpeg, the video information of the transparent channel in the video file to be launched may be converted into the video information in the format of MP4, and the picture 2a in fig. 2 is subjected to format conversion to obtain the picture 2c in fig. 2. The picture in 2c of fig. 2 is the video information of RGB channels in the original video file to be released is removed. The part corresponding to B1 in the picture in 2c in fig. 2 is a picture obtained by converting the video information corresponding to the transparent channel of the original video file to be released. And the size of the video file of the obtained fourth video information is 80KB, which is obviously much smaller than the size of the original video file to be launched. As shown in 2c in fig. 2, a picture of the video information of the transparent portion in the video information of the transparent channel in the original video file to be launched is represented by black, and the darker the color is, the more transparent the picture is.
And step 209, the video information playing device merges the third video information and the fourth video information to obtain the target video information.
Wherein, the following parameters (FFmpeg-y-irgb, mp4-ialpha, mp4-filter _ complete \ 0: v ] pad ═ iw 2: ih [ int ], [ int ] [1: v ] overlay ═ W/2:0[ vid ],' -map [ vid ] -c: v libx264-crf 23-preset veryfast final. mp4) can be input into FFmpeg, and then the third video information and the fourth video information can be spliced to obtain synthesized target video information; after the picture C in the third video information and the picture D in the fourth video information corresponding to the picture shown in 2a in fig. 2 are left-right spliced, a picture as shown in fig. 3 can be obtained.
Step 210, the video information playing device displays the target video information.
It should be noted that, for the explanation of the same or related steps in the embodiments of the present invention as in the other embodiments, reference may be made to the description in the other embodiments, and details are not repeated here.
The video information playing method provided by the embodiment of the invention acquires the video file to be released from the information base to be released based on the video identifier in the received releasing request, then acquires the first video information of the non-transparent channel in the video file to be released and the second video information of the transparent channel in the video file to be released, and based on the attribute of the first video information, converting the format of the first video information to obtain third video information, and based on the attribute of the second video information, converting the format of the second video information to obtain fourth video information, finally combining the third video information and the fourth video information to obtain target video information and displaying the target video information, thus, the method can convert the previous MOV format video information into another format video information, solves the problems of poor compatibility and interactivity in the prior art, and greatly reduces the size of a file.
Based on the foregoing embodiments, an embodiment of the present invention provides a method for playing and retrieving video information, including the following steps:
step 301, the video information playing device receives a release request for releasing video information.
The release request carries a video identifier.
And step 302, the video information playing device acquires a video file to be released from the information base to be released based on the acquired video identifier.
And 303, analyzing the video file to be launched by the video information playing device, and acquiring the video information with the color information of the non-transparent channel from the video file to be launched to obtain the first video information.
And step 304, the video information playing device obtains the video information of the transparent channel from the video file to be launched to obtain second video information based on the first video information.
Step 305, the video information playing apparatus sets a first parameter based on the attribute of the first video information.
Step 306, the video information playing device converts the format of the first video information from the first format to the second format based on the first parameter by using preset video processing software to obtain third video information.
Wherein the first format is different from the second format.
Step 307, the video information playing apparatus sets a second parameter based on the attribute of the second video information.
Step 308, the video information playing apparatus sets the color corresponding to the second format.
The color corresponding to the second format may include a first color and a second color; the first color may be a color for representing transparent video information in the converted video information of the transparent channel, and the second color may be a color for representing video information other than the transparent video information in the converted video information of the transparent channel. For example, the first color may be black and the second color may be white; wherein black is used for representing the picture of the transparent part in the video information of the transparent channel, and white is used for representing the picture of the other part except the transparent part in the video information of the transparent channel.
Step 309, the video information playing device converts the color corresponding to the video frame of the second video information into the color corresponding to the second format based on the second parameter by using the preset video processing software, so as to obtain the fourth video information.
The color corresponding to the video frame may be the color of the first part picture and the second part picture included in the video frame; the implementation process can be realized by the following modes:
the terminal can adopt preset video processing software to convert the picture of the first part in the second video information into the picture with the first color based on the second parameter.
And the terminal adopts preset video processing software, and converts the picture of the second part in the second video information into the picture with the second color based on the second parameter.
Wherein, the picture of the video of the transparent part in the video information of the transparent channel can be represented by black, while the pictures of the other parts in the picture can be represented by white, and the finally obtained one of the pictures can be as shown in 2c in fig. 2.
And step 310, the video information playing device merges the third video information and the fourth video information to obtain target video information.
Based on the foregoing embodiments, in other embodiments of the present invention, there is further provided a video information playing method, where the method may further include the following steps after step 310:
step 311, the video information playing apparatus receives a playing instruction for playing the converted video information.
The playing instruction may be sent by a user, or may be sent by a server or other terminals.
Of course, the terminal may not need to wait for receiving the playing instruction when displaying the target video information, and the operation corresponding to step 312 and step 316 is directly performed after obtaining the target video information.
In step 312, the video information playing device responds to the playing instruction, and obtains the picture information corresponding to each frame in the target video information to obtain a frame picture.
The frame picture comprises picture information corresponding to a plurality of frames.
In other embodiments of the present invention, the frame pictures may be pictures corresponding to all frames in the target video information, and may be pictures of each frame obtained according to the playing sequence of the target video information, so as to finally obtain the frame pictures.
Step 313, the video information playing apparatus obtains a first sub-picture and a second sub-picture in the frame picture.
The first sub-picture and the second sub-picture may be pictures corresponding to the same frame; the first sub-picture may be a picture corresponding to the third video information in the frame picture, and the second sub-picture may be a picture corresponding to the fourth video information in the frame picture. Of course, the image information corresponding to the first sub-image and the second sub-image is only illustrated here by way of example, and is not limited to this; in other embodiments of the present invention, the picture information represented by the first sub-picture and the picture information represented by the second sub-picture may be interchanged.
In step 314, the video information playing apparatus creates a channel of the first bitmap data, and sets the first sub-picture in the channel of the first bitmap data.
Wherein the channel of the first bitmap data is for setting the first sub-picture.
Step 315, the video information playing apparatus creates a channel of the second bitmap data, and sets the second sub-picture in the channel of the second bitmap data.
Wherein the channel of the second bitmap data is for setting the second sub-picture.
Step 316, the video information playing apparatus obtains the target picture and displays the target picture based on the channel of the first bitmap data and the channel of the second bitmap data.
The current set picture may be obtained from the channel of the first bitmap data, and the current set picture may be obtained from the channel of the second bitmap data, and then the obtained pictures are synthesized to obtain the target picture.
It should be noted that, a video file to be launched is taken as an advertisement video for example: when the advertisement video is launched in the video information, the advertisement video is uploaded in an advertisement launching system and the format conversion of the advertisement video is completed, and after the format conversion of the advertisement video is completed, the advertisement video with the completed format conversion is launched into an advertisement order; then, when playing the video, pulling and displaying the advertisement information in the advertisement order, at this time, the picture information as shown in fig. 4 may be presented (i.e. the currently played video information picture is displayed with the advertisement information E, and the closing key F is displayed thereon, if the user does not want to watch the advertisement, the user may actively press the closing key to close the advertisement).
For the explanation of the same or related steps in the embodiments of the present invention as in the other embodiments, reference may be made to the description in the other embodiments, and further description is omitted here.
The video information playing method provided by the embodiment of the invention acquires the video file to be released from the information base to be released based on the video identifier in the received releasing request, then acquires the first video information of the non-transparent channel in the video file to be released and the second video information of the transparent channel in the video file to be released, and based on the attribute of the first video information, converting the format of the first video information to obtain third video information, and based on the attribute of the second video information, converting the format of the second video information to obtain fourth video information, finally combining the third video information and the fourth video information to obtain target video information and displaying the target video information, thus, the method can convert the previous MOV format video information into another format video information, solves the problems of poor compatibility and interactivity in the prior art, and greatly reduces the size of a file. Further, animation loading time and latency are reduced, and consumption of traffic is reduced.
Based on the foregoing embodiment, in another embodiment of the present invention, in the video information playing method, step 316 obtains the target picture and displays the target picture based on the channel of the first bitmap data and the channel of the second bitmap data, which may be specifically implemented by the following manners:
step 316a, the video information playing apparatus creates a channel of the third bitmap data.
Wherein the channel of the third bitmap data is for setting the third sub-picture.
In step 316b, the video information playing apparatus obtains the first sub-picture from the channel of the first bitmap data, and sets the first sub-picture in the channel of the third bitmap data.
Step 316c, the video information playing apparatus obtains the second sub-picture from the channel of the second sub-picture, and sets the second sub-picture in the channel of the third sub-picture data, where the first sub-picture is already set, in a manner of matching with the first sub-picture.
The sub-picture in the channel of the first bitmap data is firstly arranged in the channel of the third bitmap data, then the sub-picture in the channel of the second bitmap data is arranged in the channel of the third bitmap data, and the sub-picture can be arranged according to the matching mode of the sub-pictures during arrangement, so that the picture in the channel of the third bitmap data is a matched sub-picture in all aspects of shape and the like.
Step 316d, the video information playing apparatus obtains the current picture from the channel of the third bitmap data to obtain the target picture.
And step 316e, the video information playing device sequentially displays the target pictures according to the sequence of obtaining the target pictures.
When displaying, the sequence of obtaining the target pictures can be determined first, and the target pictures are played in sequence according to the sequence of obtaining the target pictures.
It should be noted that, when performing format conversion and playing of the entire video information, the server environment used may include: linux tlinux-1.0.23-default, Apache/2.2.29, PHP 5.4.36, Mysql5.0.81 and the like. As shown in fig. 5, the whole process may enter the advertisement delivery system first, and at this time, after the advertisement video is uploaded in the advertisement delivery system, the format conversion of the advertisement video needs to be performed by the video conversion system; after the format conversion is completed, the system can enter an advertisement playing system, and then a video player plays the advertisement. The following description will be given by taking the example that the video advertisement information is played on the terminal 1 and the whole conversion process of the video information is performed on the terminal 2: as shown in fig. 6, the terminal 2 analyzes the video file to be delivered, converts the format of the original advertisement video information from MOV format to MP4 format, and then transmits the converted advertisement video information in MP4 format to the terminal 1 through the network, and then the terminal 1 can use its own player to play the advertisement video information in MP4 format. Of course, the terminal 2 may also play the advertisement video information in the MP4 format on its own display screen, which is only for illustration and is not limited herein.
Based on the foregoing embodiment, an embodiment of the present invention provides a video information playing apparatus 4, where the apparatus 4 can be applied to the video information playing method provided in the foregoing embodiment, and as shown in fig. 7, the apparatus includes: a first receiving unit 41, a first obtaining unit 42, a second obtaining unit 43, a first processing unit 44, a second processing unit 45, a merging unit 46 and a presenting unit 47, wherein:
a first receiving unit 41, configured to receive a delivery request for delivering video information; the release request carries a video identifier;
the first obtaining unit 42 is configured to obtain a video file to be released from the information base to be released based on the video identifier;
a second obtaining unit 43, configured to obtain video information of a non-transparent channel in a video file to be launched to obtain first video information, and obtain video information of a transparent channel in the video file to be launched to obtain second video information;
the first video information and the second video information correspond to different channels of the same video file;
the first processing unit 44 is configured to perform conversion processing on the first video information based on an attribute of the first video information to obtain third video information;
a second processing unit 45, configured to perform conversion processing on the second video information based on an attribute of the second video information to obtain fourth video information;
a merging unit 46, configured to merge the third video information and the fourth video information to obtain target video information;
and a display unit 47 for displaying the target video information.
Based on the foregoing embodiments, in other embodiments of the present invention, the second obtaining unit includes: a first acquisition module and a second acquisition module, wherein:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for analyzing a video file to be launched, and acquiring video information with color information of a non-transparent channel from the video file to be launched to obtain first video information;
and the second acquisition module is used for acquiring the video information of the transparent channel from the video file to be launched to obtain second video information based on the first video information.
Based on the foregoing embodiments, in other embodiments of the present invention, the first processing unit includes: a first setting module and a first processing module, wherein:
a first setting module for setting a first parameter based on an attribute of the first video information;
the first processing module is used for converting the format of the first video information from the first format to the second format based on the first parameter by adopting preset video processing software to obtain third video information;
wherein the first format is different from the second format.
Based on the foregoing embodiments, in other embodiments of the present invention, the second processing unit includes: a second setup module and a second processing module, wherein:
a second setting module for setting a second parameter based on an attribute of the second video information;
the second processing module is used for converting the format of the second video information from the first format to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information;
wherein the first format is different from the second format.
In other embodiments of the present invention, the second processing module is further configured to implement the following steps:
setting the color corresponding to the second format;
and converting the color corresponding to the video frame of the second video information into the color corresponding to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information.
Further, the apparatus further comprises: a third obtaining unit, a creating unit and a third processing unit, wherein:
the third acquisition unit is used for acquiring picture information corresponding to each frame in the target video information to obtain a frame picture;
the frame picture comprises picture information corresponding to a plurality of frames;
the third acquisition unit is further used for acquiring a first sub-picture and a second sub-picture in the frame picture;
the creation unit is used for creating a channel of the first bitmap data and setting the first sub-picture in the channel of the first bitmap data;
the creating unit is further used for creating a channel of the second bitmap data and setting the second sub-picture in the channel of the second bitmap data;
and the third processing unit is used for obtaining the target picture and displaying the target picture based on the channel of the first bitmap data and the channel of the second bitmap data.
Based on the foregoing embodiments, in other embodiments of the present invention, the third processing unit includes: the system comprises a creating module, a third processing module, a third acquiring module and a display module, wherein:
the creation module is used for creating a channel of the third bitmap data;
the third processing module is used for acquiring the first sub-picture from the channel of the first bitmap data and setting the first sub-picture in the channel of the third bitmap data;
the third processing module is further used for acquiring a second sub-picture from the channel of the second bitmap data, and is matched with the first sub-picture and arranged in the channel of the third bitmap data provided with the first sub-picture;
the third acquisition module is used for acquiring the current picture from the channel of the third bitmap data to obtain a target picture;
and the display module is used for sequentially displaying the target pictures according to the sequence of obtaining the target pictures.
It should be noted that, in the interaction process between each unit and each module in this embodiment, reference may be made to the interaction process in the video information playing method provided in the foregoing embodiment, and details are not described here again.
The video information playing device provided by the embodiment of the invention acquires the video file to be released from the information base to be released based on the video identifier in the received releasing request, then acquires the first video information of the non-transparent channel in the video file to be released and the second video information of the transparent channel in the video file to be released, and based on the attribute of the first video information, converting the format of the first video information to obtain third video information, and based on the attribute of the second video information, converting the format of the second video information to obtain fourth video information, finally combining the third video information and the fourth video information to obtain target video information and displaying the target video information, thus, the method can convert the previous MOV format video information into another format video information, solves the problems of poor compatibility and interactivity in the prior art, and greatly reduces the size of a file. Further, animation loading time and latency are reduced, and consumption of traffic is reduced.
Based on the foregoing embodiment, an embodiment of the present invention provides a terminal 5, which can be applied to the video information playing method provided in the foregoing embodiment, and as shown in fig. 8, the terminal includes: a processor 51, a memory 52 and a communication interface 53, the processor 51 residing in a processing component 54, wherein:
a communication interface 53 for implementing a communication connection between the processor 51 and the memory 52;
the processor 51 is configured to receive a release request for releasing video information, where the release request carries a video identifier, and obtain a video file to be released from a to-be-released information base stored in the memory 52 based on the video identifier; processing a video file to be launched, acquiring video information of a non-transparent channel in the video file to be launched to obtain first video information, and acquiring video information of a transparent channel in the video file to be launched to obtain second video information; converting the format of the first video information based on the attribute of the first video information to obtain third video information; converting the format of the second video information based on the attribute of the second video information to obtain fourth video information; and combining the third video information and the fourth video information to obtain target video information, and displaying the target video information.
In other embodiments of the present invention, when the processor 51 obtains the first video information by obtaining the video information of the non-transparent channel in the video file to be launched, and obtains the second video information by obtaining the video information of the transparent channel in the video file to be launched, the processor is further configured to perform the following steps:
analyzing a video file to be launched, and acquiring video information with color information of a non-transparent channel from the video file to be launched to obtain first video information;
and acquiring the video information of the transparent channel from the video file to be launched to obtain second video information based on the first video information.
In other embodiments of the present invention, the processor 51 is further configured to perform the following steps when performing a conversion process on the first video information based on the attribute of the first video information to obtain third video information:
setting a first parameter based on an attribute of the first video information;
converting the format of the first video information from the first format to the second format based on the first parameter by adopting preset video processing software to obtain third video information;
wherein the first format is different from the second format.
In other embodiments of the present invention, the processor 51 is further configured to perform the following steps when performing a conversion process on the second video information based on the attribute of the second video information to obtain fourth video information:
setting a second parameter based on an attribute of the second video information;
converting the format of the second video information from the first format to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information;
wherein the first format is different from the second format.
In other embodiments of the present invention, when the processor 51 executes the preset video processing software to convert the format of the second video information from the first format to the second format based on the second parameter, the following steps are further executed:
setting the color corresponding to the second format;
and converting the color corresponding to the video frame of the second video information into the color corresponding to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information.
In other embodiments of the present invention, the processor 51 is further configured to perform the following steps:
receiving a playing instruction for playing the converted video information;
responding to a playing instruction, and acquiring picture information corresponding to each frame in the target video information to obtain a frame picture;
the frame picture comprises picture information corresponding to a plurality of frames;
acquiring a first sub-picture and a second sub-picture in a frame picture;
creating a channel of the first bitmap data, and setting the first sub-picture in the channel of the first bitmap data;
creating a channel of the second bitmap data, and setting the second sub-picture in the channel of the second bitmap data;
and obtaining a target picture and displaying the target picture based on the channel of the first bitmap data and the channel of the second bitmap data.
In other embodiments of the present invention, the processor 51 is further configured to, when executing the channel based on the first bitmap data and the channel based on the second bitmap data to obtain the target picture and display the target picture, execute the following steps:
creating a channel of the third bitmap data;
acquiring a first sub-picture from the channel of the first bitmap data, and setting the first sub-picture in the channel of the third bitmap data;
acquiring a second sub-picture from the channel of the second sub-picture data, and setting the second sub-picture in a channel of third sub-picture data provided with the first sub-picture in a matching manner with the first sub-picture;
acquiring a current picture from a channel of the third bitmap data to obtain a target picture;
and sequentially displaying the target pictures according to the sequence of obtaining the target pictures.
It should be noted that, in the present embodiment, the interaction process between the devices may refer to the interaction process in the video information playing method provided in the foregoing embodiment, and details are not described here again.
The terminal provided by the embodiment of the invention acquires the video file to be released from the information base to be released based on the video identifier in the received releasing request, then acquires the first video information of the non-transparent channel in the video file to be released and the second video information of the transparent channel in the video file to be released, and based on the attribute of the first video information, converting the format of the first video information to obtain third video information, and based on the attribute of the second video information, the format of the second video information is converted to obtain fourth video information, and finally the third video information and the fourth video information are combined to obtain target video information and displayed, so that, the method can convert the previous MOV format video information into another format video information, solves the problems of poor compatibility and interactivity in the prior art, and greatly reduces the size of a file. Further, animation loading time and latency are reduced, and consumption of traffic is reduced.
Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium having one or more computer programs stored therein, which when executed by a processor implement the following steps:
receiving a releasing request for releasing video information; the release request carries a video identifier; acquiring a video file to be released from an information base to be released based on the video identification; processing a video file to be launched, acquiring video information of a non-transparent channel in the video file to be launched to obtain first video information, and acquiring video information of a transparent channel in the video file to be launched to obtain second video information; converting the format of the first video information based on the attribute of the first video information to obtain third video information; converting the format of the second video information based on the attribute of the second video information to obtain fourth video information; merging the third video information and the fourth video information to obtain target video information; and displaying the target video information.
In other embodiments of the present invention, when the computer storage medium obtains video information of a non-transparent channel in a video file to be launched to obtain first video information and obtains video information of a transparent channel in the video file to be launched to obtain second video information, the computer storage medium is further configured to implement the following steps:
analyzing a video file to be launched, and acquiring video information with color information of a non-transparent channel from the video file to be launched to obtain first video information;
and acquiring the video information of the transparent channel from the video file to be launched to obtain second video information based on the first video information.
In another embodiment of the present invention, the computer storage medium, when executing the conversion process on the first video information based on the attribute of the first video information to obtain the third video information, is further configured to implement the following steps:
setting a first parameter based on an attribute of the first video information;
converting the format of the first video information from the first format to the second format based on the first parameter by adopting preset video processing software to obtain third video information;
wherein the first format is different from the second format.
In another embodiment of the present invention, the computer storage medium, when executing the conversion process on the second video information based on the attribute of the second video information to obtain the fourth video information, is further configured to implement the following steps:
setting a second parameter based on an attribute of the second video information;
converting the format of the second video information from the first format to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information;
wherein the first format is different from the second format.
In other embodiments of the present invention, the computer storage medium, when executing the converting of the format of the second video information from the first format to the second format based on the second parameter by using the preset video processing software, is further configured to implement the following steps:
setting the color corresponding to the second format;
and converting the color corresponding to the video frame of the second video information into the color corresponding to the second format based on the second parameter by adopting preset video processing software to obtain fourth video information.
In other embodiments of the present invention, the computer storage medium is further for implementing the steps of:
acquiring picture information corresponding to each frame in target video information to obtain a frame picture;
the frame picture comprises picture information corresponding to a plurality of frames;
acquiring a first sub-picture and a second sub-picture in a frame picture;
creating a channel of the first bitmap data, and setting the first sub-picture in the channel of the first bitmap data;
creating a channel of the second bitmap data, and setting the second sub-picture in the channel of the second bitmap data;
and obtaining a target picture and displaying the target picture based on the channel of the first bitmap data and the channel of the second bitmap data.
In other embodiments of the present invention, when the computer storage medium executes a channel based on the first bitmap data and a channel based on the second bitmap data to obtain the target picture and display the target picture, the computer storage medium is further configured to implement the following steps:
creating a channel of the third bitmap data;
acquiring a first sub-picture from the channel of the first bitmap data, and setting the first sub-picture in the channel of the third bitmap data;
acquiring a second sub-picture from the channel of the second sub-picture data, and setting the second sub-picture in a channel of third sub-picture data provided with the first sub-picture in a matching manner with the first sub-picture;
acquiring a current picture from a channel of the third bitmap data to obtain a target picture;
and sequentially displaying the target pictures according to the sequence of obtaining the target pictures.
It should be noted that, in this embodiment, the specific interactive process of each step executed by the computer-readable storage medium may refer to the interactive process in the video information playing method provided in the foregoing embodiment, and details are not described here again.
In practical applications, the first receiving Unit 41, the first obtaining Unit 42, the second obtaining Unit 43, the first Processing Unit 44, the second Processing Unit 45, the merging Unit 46, the displaying Unit 47, the first obtaining module, the second obtaining module, the first setting module, the first Processing module, the second setting module, the second Processing module, the third obtaining Unit, the creating Unit, the third Processing Unit, the creating module, the third Processing module, the third obtaining module, and the displaying module may all be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in the wireless data transmitting device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (15)
1. A method for playing video information, the method comprising:
receiving a releasing request for releasing video information; the release request carries a video identifier;
acquiring a video file to be launched with the video identifier from an information base to be launched based on the video identifier;
acquiring video information of a first channel in the video file to be launched as first video information, and acquiring video information of a second channel in the video file to be launched as second video information;
converting the format of the first video information based on the attribute of the first video information to obtain third video information;
converting colors corresponding to video frames of the second video information based on the attribute of the second video information to obtain fourth video information, wherein the fourth video information comprises: the converted video information in the second channel is transparent, and the converted video information in the second channel is video information except the transparent video information;
merging the third video information and the fourth video information to obtain target video information;
and displaying the target video information.
2. The method according to claim 1, wherein the obtaining video information of a first channel in the video file to be launched as first video information and obtaining video information of a second channel in the video file to be launched as second video information comprises:
analyzing the video file to be launched, and acquiring video information with color information of a first channel from the video file to be launched to serve as the first video information;
and acquiring video information of a second channel from the video file to be launched as the second video information based on the first video information.
3. The method according to claim 1, wherein the converting the first video information based on the attribute of the first video information to obtain third video information comprises:
setting a first parameter based on an attribute of the first video information;
converting the format of the first video information from a first format to a second format based on the first parameter by adopting preset video processing software to obtain third video information; wherein the first format is different from the second format.
4. The method according to claim 1, wherein the converting colors corresponding to video frames of the second video information based on the attribute of the second video information to obtain fourth video information comprises:
setting a second parameter based on an attribute of the second video information;
converting the format of the second video information from a first format to a second format based on the second parameter by adopting preset video processing software to obtain fourth video information; wherein the first format is different from the second format.
5. The method according to claim 4, wherein said converting the format of the second video information from the first format to the second format based on the second parameter by using the predetermined video processing software to obtain the fourth video information comprises:
setting the color corresponding to the second format;
and converting the color corresponding to the video frame of the second video information into the color corresponding to the second format based on the second parameter by adopting the preset video processing software to obtain the fourth video information.
6. The method of claim 1, wherein said presenting the target video information comprises:
acquiring picture information corresponding to each frame in the target video information to obtain a frame picture; the frame picture comprises picture information corresponding to a plurality of frames;
acquiring a first sub-picture and a second sub-picture in the frame picture;
creating a channel of first bitmap data, and setting the first sub-picture in the channel of the first bitmap data;
creating a channel of second bitmap data, and setting the second sub-picture in the channel of the second bitmap data;
and obtaining a target picture based on the channel of the first bitmap data and the channel of the second bitmap data, and displaying the target picture.
7. The method of claim 6, wherein obtaining a target picture and displaying the target picture based on the channel of the first bitmap data and the channel of the second bitmap data comprises:
creating a channel of the third bitmap data;
acquiring the first sub-picture from the channel of the first bitmap data, and setting the first sub-picture in the channel of the third bitmap data;
acquiring the second sub-picture from the channel of the second sub-picture data, and setting the second sub-picture in a channel of the third sub-picture data provided with the first sub-picture in a matching manner with the first sub-picture;
acquiring a current picture from a channel of the third bitmap data to obtain the target picture;
and sequentially displaying the target pictures according to the sequence of obtaining the target pictures.
8. A video information playback apparatus, characterized in that the apparatus comprises: first receiving element, first acquisition unit, second acquisition unit, first processing unit, second processing unit, merging unit and display element, wherein:
the first receiving unit is used for receiving a releasing request for releasing video information; the release request carries a video identifier;
the first obtaining unit is used for obtaining a video file to be launched with the video identifier from an information base to be launched based on the video identifier;
the second obtaining unit is configured to obtain video information of a first channel in the video file to be launched as first video information, and obtain video information of a second channel in the video file to be launched as second video information;
the first processing unit is configured to perform conversion processing on the first video information based on an attribute of the first video information to obtain third video information;
the second processing unit is configured to convert, based on an attribute of the second video information, a color corresponding to a video frame of the second video information to obtain fourth video information, where the fourth video information includes: the converted video information in the second channel is transparent, and the converted video information in the second channel is video information except the transparent video information;
the merging unit is configured to merge the third video information and the fourth video information to obtain target video information;
the display unit is used for displaying the target video information.
9. The apparatus of claim 8, wherein the second obtaining unit comprises: a first acquisition module and a second acquisition module, wherein:
the first obtaining module is configured to analyze the video file to be launched, and obtain video information with color information of a first channel from the video file to be launched to serve as the first video information;
and the second obtaining module is used for obtaining the video information of a second channel from the video file to be launched as the second video information based on the first video information.
10. The apparatus of claim 8, wherein the first processing unit comprises: a first setting module and a first processing module, wherein:
the first setting module is used for setting a first parameter based on the attribute of the first video information;
the first processing module is configured to convert the format of the first video information from a first format to a second format based on the first parameter by using preset video processing software, so as to obtain third video information; wherein the first format is different from the second format.
11. The apparatus of claim 8, wherein the second processing unit comprises: a second setup module and a second processing module, wherein:
the second setting module is used for setting a second parameter based on the attribute of the second video information;
the second processing module is configured to convert the format of the second video information from the first format to a second format based on the second parameter by using preset video processing software, so as to obtain fourth video information; wherein the first format is different from the second format.
12. The apparatus of claim 8, further comprising: a third acquisition unit, a creation unit, and a third processing unit, wherein:
the third obtaining unit is configured to obtain picture information corresponding to each frame in the target video information to obtain a frame picture; the frame picture comprises picture information corresponding to a plurality of frames;
the third obtaining unit is further configured to obtain a first sub-picture and a second sub-picture in the frame picture;
the creating unit is used for creating a channel of first bitmap data and setting the first sub-picture in the channel of the first bitmap data;
the creating unit is further configured to create a channel of second bitmap data, and set the second sub-picture in the channel of the second bitmap data;
and the third processing unit is used for obtaining a target picture and displaying the target picture based on the channel of the first bitmap data and the channel of the second bitmap data.
13. The apparatus of claim 12, wherein the third processing unit comprises: the system comprises a creating module, a third processing module, a third acquiring module and a display module, wherein:
the creating module is used for creating a channel of the third bitmap data;
the third processing module is configured to obtain the first sub-picture from the channel of the first bitmap data, and set the first sub-picture in the channel of the third bitmap data;
the third processing module is further configured to obtain the second sub-picture from the channel of the second bitmap data, and set the second sub-picture in a channel, where the third bitmap data of the first sub-picture is already set, in a manner of being matched with the first sub-picture;
the third obtaining module is configured to obtain a current picture from a channel of the third bitmap data to obtain the target picture;
and the display module is used for sequentially displaying the target pictures according to the sequence of obtaining the target pictures.
14. A terminal, characterized in that the terminal comprises: a memory and a processor, wherein:
the processor is used for receiving a releasing request for releasing video information; the release request carries a video identifier, and a video file to be released with the video identifier is obtained from an information base to be released stored in the memory based on the video identifier; acquiring video information of a first channel in the video file to be launched as first video information, and acquiring video information of a second channel in the video file to be launched as second video information; converting the format of the first video information based on the attribute of the first video information to obtain third video information; converting colors corresponding to video frames of the second video information based on attributes of the second video information to obtain fourth video information, wherein the fourth video information comprises: the converted video information in the second channel is transparent, and the converted video information in the second channel is video information except the transparent video information; merging the third video information and the fourth video information to obtain target video information; and displaying the target video information.
15. A computer-readable storage medium, in which one or more computer programs are stored which, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710861461.1A CN109547849B (en) | 2017-09-21 | 2017-09-21 | Video information playing method, device, terminal and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710861461.1A CN109547849B (en) | 2017-09-21 | 2017-09-21 | Video information playing method, device, terminal and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109547849A CN109547849A (en) | 2019-03-29 |
CN109547849B true CN109547849B (en) | 2022-06-07 |
Family
ID=65828397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710861461.1A Active CN109547849B (en) | 2017-09-21 | 2017-09-21 | Video information playing method, device, terminal and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109547849B (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742317B (en) * | 2009-12-31 | 2012-03-28 | 北京中科大洋科技发展股份有限公司 | Video compressing and encoding method with alpha transparent channel |
CN103079040A (en) * | 2013-01-11 | 2013-05-01 | 北京友维科软件科技有限公司 | Synthetic system and synthetic method for synthesizing image effect into video images |
CN103702240A (en) * | 2013-12-06 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and equipment for video laying |
KR20160020797A (en) * | 2014-08-14 | 2016-02-24 | 전자부품연구원 | Apparatus and method for processing pip for constant bit rate compression |
CN105227864A (en) * | 2015-10-16 | 2016-01-06 | 南阳师范学院 | A kind of picture generates animation and splices with video segment the video editing method synthesized |
CN105979282B (en) * | 2016-06-02 | 2019-08-06 | 腾讯科技(深圳)有限公司 | A kind of animation frame processing method, server, terminal and system |
CN106339210B (en) * | 2016-08-09 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Data processing method and relevant apparatus in a kind of web game |
CN106937132B (en) * | 2017-04-08 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
CN107071515B (en) * | 2017-04-08 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method and system |
CN109348226B (en) * | 2017-04-08 | 2022-11-11 | 腾讯科技(深圳)有限公司 | Picture file processing method and intelligent terminal |
-
2017
- 2017-09-21 CN CN201710861461.1A patent/CN109547849B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109547849A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789991B (en) | Multi-person interactive network live broadcast method and system based on virtual scene | |
CN107613357B (en) | Sound and picture synchronous optimization method and device and readable storage medium | |
CN110708589B (en) | Information sharing method and device, storage medium and electronic device | |
CN109640129B (en) | Video recommendation method and device, client device, server and storage medium | |
EP2822288A1 (en) | Method and apparatus for frame accurate advertisement insertion | |
CN108449631B (en) | Method, apparatus and readable medium for media processing | |
CN110505511B (en) | Method, device and system for playing video in webpage and computing equipment | |
CN107682713B (en) | Media file playing method and device | |
WO2016188276A1 (en) | Video playing method, client and computer storage medium | |
CN108429924B (en) | Display device for playing advertisement for replacement and control method thereof | |
CN110012336B (en) | Picture configuration method, terminal and device of live interface | |
CN110913278B (en) | Video playing method, display terminal and storage medium | |
CN108965746A (en) | Image synthesizing method and system | |
CN104504447A (en) | Method and device for distributing virtual seat images | |
CN113225587B (en) | Video processing method, video processing device and electronic equipment | |
CN105872854A (en) | Watermark showing method and device | |
CN103618952B (en) | A kind of player method and intelligent television of intelligent television boot animation | |
CN106658037A (en) | Live video method and apparatus of multiple video streams | |
CN109547849B (en) | Video information playing method, device, terminal and computer storage medium | |
EP3018591A1 (en) | System and method for products ordering via a television signal receiver | |
CN113301425A (en) | Video playing method, video playing device and electronic equipment | |
CN105812960B (en) | Method, display terminal and system for carrying hidden information in display picture | |
CN105979336A (en) | Startup advertisement processing method and device | |
CN107820111B (en) | Information equipment | |
CN109168063B (en) | Video advertisement playing method and terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |