Method and device for video editing
A technology for video editing and video files, applied in the field of video editing, can solve the problems of incomplete video frame data, time difference, and inability to play, and achieve the effect of improving playback quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Embodiment 1. In this embodiment, the memory unit is set to be 100M bytes. see figure 2 , the process of video editing in this embodiment includes:
[0064] Step 201: Read the data of the set memory unit of the source video file to the cache.
[0065] The capacity of the cache is limited, for example, 100M bytes. In this way, the data of 100M bytes of the source video file is read into the cache.
[0066] Step 202: Determine whether the end point of the data in the buffer is the end point of the complete video data frame? If yes, go to step 203 , otherwise go to step 204 .
[0067] It is possible that among the 100M bytes of data, the last data end point is the data end point of a complete video data frame, then step 203 is performed. If the end point of the 100M byte data is not the data end point of a complete video data frame, step 204 is performed.
[0068] Step 203: Determine the end point of the data in the cache as the processing end point. And go to step ...
Embodiment 2
[0079] Embodiment 2. In this embodiment, the memory unit is set to be 200M bytes. see image 3 , the process of video editing in this embodiment includes:
[0080] Step 301: Read the data of the set memory unit of the source video file to the cache.
[0081] The capacity of the cache is limited, for example, 200M bytes. In this way, the data of 200M bytes of the source video file is read into the cache.
[0082] Step 302: Check the data in the cache for complete frames, and determine the data end point of the last complete video data frame in the data as the processing end point.
[0083] Among the 200M bytes of data in the cache, the data end point of the last complete video data frame may be the 200M byte, then the 200M byte can be determined as the processing end point, or it may be the 195th byte. Then the 195th Mbyte can be determined as the processing end point.
[0084] Step 303: Determine whether the point-cutting time is within the range of the earliest timestamp ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


