Method for synthesizing video from pictures
A picture synthesis and picture technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve the problems of reasonable control of unfavorable costs for long-term use, different third-party conversion algorithms, and unfavorable app experience, etc., to achieve Improve user experience, easy post-adjustment, and good compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0041] like figure 1 As shown, the method for synthesizing video from pictures according to the present invention comprises the following steps:
[0042] Image preprocessing, obtain image duration and size information,
[0043] Video data preparation, including:
[0044] Generate an AVAssetWriter for writing images and audio into a complete video file,
[0045] Generate AVAssetWriterInput for receiving data and configured to handle the specified media type,
[0046] When AVAssetWriterInput can accept image data, before the total number of frames is reached, continue to obtain the current frame image and generate the image pixel buffer PixelBuffer. If the total number of frames has been reached, generate a video.
[0047] Generate a pixel buffer adapter PixelBufferAdaptor, add PixelBuffer to the adapter and set the display time,
[0048] Add WriterInput t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
