CN-122002038-A - Display method and device of dynamic picture, electronic equipment and computer storage medium
Abstract
The embodiment of the application discloses a display method of a dynamic picture, which is applied to electronic equipment of an android system and comprises the steps of acquiring picture data and video data from an acquired dynamic picture file under an iOS system, transcoding the picture data to obtain processed picture data, transcoding the video data to obtain processed video data, packaging the processed picture data and the processed video data, putting the processed picture data and the processed video data into the same file of the android system, obtaining and displaying the packaged dynamic picture, wherein the packaged dynamic picture is the dynamic picture which can be displayed in the electronic equipment of the android system. The embodiment of the application also provides a display device of the dynamic picture, electronic equipment and a computer storage medium.
Inventors
- YANG LIU
Assignees
- 深圳市欢太科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241108
Claims (11)
- 1. The method for displaying the dynamic picture is characterized by being applied to the electronic equipment of an android system and comprising the following steps: acquiring picture data and video data from the acquired dynamic picture file under the iOS system; Transcoding the picture data to obtain the processed picture data; Transcoding the video data to obtain processed video data; And packaging the processed picture data and the processed video data, so as to put the processed picture data and the processed video data into the same file of an android system to obtain and display a packaged dynamic picture, wherein the packaged dynamic picture is a dynamic picture which can be displayed in electronic equipment of the android system.
- 2. The method according to claim 1, wherein the acquiring the picture data and the video data from the acquired moving picture file under the iOS system includes: And acquiring the picture data and the video data with the same check mark from the dynamic picture file.
- 3. The method according to claim 1, wherein transcoding the picture data to obtain processed picture data comprises: and sequentially performing decoding processing and encoding processing on the picture data to obtain the processed picture data.
- 4. A method according to claim 3, wherein said sequentially performing decoding and encoding processes on said picture data to obtain said processed picture data comprises: Decoding the picture data to obtain related data of a main picture in the picture data and bitmap content of the main picture in the picture data; And carrying out coding processing on the related data of the main graph and the bitmap content of the main graph to obtain the processed picture data.
- 5. The method of claim 1, wherein transcoding the video data to obtain processed video data comprises: and performing decapsulation processing, decoding processing, encoding processing and encapsulation processing on the video data to obtain the processed video data.
- 6. The method of claim 5, wherein said subjecting said video data to a decapsulation process, a decoding process, an encoding process, and an encapsulation process results in said processed video data, comprising: unpacking the video data to obtain picture data and audio data; Sequentially performing decoding processing and encoding processing on the picture data to obtain processed picture data; sequentially performing decoding processing and encoding processing on the audio data to obtain processed audio data; And packaging the processed picture data and the processed audio data to obtain the processed video data.
- 7. The method according to claim 1, wherein the encapsulating the processed picture data and the processed video data to put the processed picture data and the processed video data into a same file of an android system to obtain the encapsulated moving picture includes: And packaging the processed picture data and the processed video data to put the processed picture data and the processed video data into the same file of an android system, and attaching the processed video data to the rear of the processed picture data to obtain a packaged dynamic picture.
- 8. The method according to any one of claims 1 to 7, wherein the acquiring the picture data and the video data from the acquired moving picture file under the iOS system includes: acquiring initial picture data and initial video data from the dynamic picture file; Performing image processing on the initial picture data to obtain the picture data; and performing image processing on the initial video data to obtain the video data.
- 9. A display device for moving pictures, wherein the device is arranged in an electronic device of an android system, and comprises: The acquisition module is used for acquiring picture data and video data from the acquired dynamic picture file under the iOS system; The first processing module is used for carrying out transcoding processing on the picture data to obtain processed picture data; the second processing module is used for carrying out transcoding processing on the video data to obtain processed video data; The packaging module is used for packaging the processed picture data and the processed video data, so that the processed picture data and the processed video data are put into the same file of the android system to obtain and display a packaged dynamic picture, wherein the packaged dynamic picture is a dynamic picture which can be displayed in electronic equipment of the android system.
- 10. An electronic device comprising a processor and a storage medium storing instructions executable by the processor, the storage medium performing operations in dependence on the processor through a communication bus, the instructions, when executed by the processor, performing the method of displaying a moving picture according to any one of claims 1 to 8.
- 11. A computer storage medium storing executable instructions which, when executed by one or more processors, perform the method of displaying a moving picture according to any one of claims 1 to 8.
Description
Display method and device of dynamic picture, electronic equipment and computer storage medium Technical Field The present application relates to a technology for converting a moving picture under different operating systems, and in particular, to a method and apparatus for displaying a moving picture, an electronic device, and a computer storage medium. Background Currently, when a moving picture of an electronic device of an apple (iOS) system is sent to an electronic device of an android (android) system, the electronic device of the android system cannot display the moving picture. Therefore, the electronic device of the android system in the related art cannot directly display the moving pictures under the iOS system. Disclosure of Invention The embodiment of the application provides a method, a device, electronic equipment and a computer storage medium for displaying a dynamic picture, which enable the electronic equipment of an android system to directly display the dynamic picture under an iOS system. The technical scheme of the application is realized as follows: in a first aspect, an embodiment of the present application provides a method for displaying a moving picture, where the method is applied to an electronic device of an android system, and includes: acquiring picture data and video data from the acquired dynamic picture file under the iOS system; Transcoding the picture data to obtain the processed picture data; transcoding the video data to obtain processed video data; And packaging the processed picture data and the processed video data, so as to put the processed picture data and the processed video data into the same file of the android system, obtain a packaged dynamic picture, and display the packaged dynamic picture, wherein the packaged dynamic picture is a dynamic picture which can be displayed in electronic equipment of the android system. In a second aspect, an embodiment of the present application provides a display device for a moving picture, where the device is disposed in an electronic device of an android system, and includes: The acquisition module is used for acquiring picture data and video data from the acquired dynamic picture file under the iOS system; The first processing module is used for carrying out transcoding processing on the picture data to obtain processed picture data; the second processing module is used for carrying out transcoding processing on the video data to obtain processed video data; The packaging module is used for packaging the processed picture data and the processed video data, so that the processed picture data and the processed video data are put into the same file of the android system to obtain and display a packaged dynamic picture, wherein the packaged dynamic picture is a dynamic picture which can be displayed in electronic equipment of the android system. In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a storage medium storing instructions executable by the processor, where the storage medium performs operations in dependence on the processor through a communication bus, and when the instructions are executed by the processor, the method for displaying a dynamic picture according to one or more embodiments is performed. In a fourth aspect, an embodiment of the present application provides a computer storage medium storing executable instructions, where when the executable instructions are executed by one or more processors, the processors perform the method for displaying a moving picture according to one or more embodiments described above. The embodiment of the application provides a method, a device, electronic equipment and a computer storage medium for displaying a dynamic picture, wherein the method is applied to the electronic equipment of an android system and comprises the steps of acquiring picture data and video data from an acquired dynamic picture file under an iOS system, transcoding the picture data to obtain processed picture data, transcoding the video data to obtain processed video data, packaging the processed picture data and the processed video data, putting the processed picture data and the processed video data into the same file of the android system to obtain a packaged dynamic picture, and displaying the packaged dynamic picture, wherein the packaged dynamic picture is the dynamic picture which can be displayed in the electronic equipment of the android system; that is, in the embodiment of the present application, by acquiring the picture data and the video data from the dynamic picture file under the iOS system and performing transcoding processing on the picture data and the video data respectively, the processed picture data and the processed video data are obtained, so that the two are packaged, and a dynamic picture that can be displayed in the electronic device of the android system is obtained, so that the electronic device of the an