Video file generation method and device, equipment and medium
A technology for video files and display devices, applied in the field of data processing, can solve the problem that the screen refresh rate cannot be played smoothly, and achieve the effect of smooth playback
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 A schematic diagram of a video file generation process provided by an embodiment of the present invention, the process includes the following steps:
[0038] S101: Acquire and save each collected first video frame data according to the received recording instruction.
[0039] The video file generation method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be an image acquisition device and a terminal including a mobile phone and other intelligent devices.
[0040] In this embodiment of the present invention, in order to generate a corresponding video file, a recording instruction may be sent to the electronic device, and after the electronic device receives the recording instruction, the electronic device acquires each first video frame data collected, and analyzes the acquired data for the first video frame. The data of each first video frame is saved.
[0041] The sending of the recording...
Embodiment 2
[0050] In order to accurately control the frame rate of the generated video file, on the basis of the above-mentioned embodiment, in the embodiment of the present invention, after acquiring and saving the collected data of each first video frame, the corresponding video file is generated. Before, the method further includes:
[0051] Determine the target time interval between two adjacent frames according to the preset frame rate;
[0052] Regarding the sequence in which the stored first video frame data is stored, if the video frame data is the first video frame data, the video frame data is stored unchanged; if the video frame data is not the first video frame data, then determine whether the time interval between the video frame data and the time stamp of the last saved video frame data is greater than the target time interval, if so, save the video frame data unchanged, otherwise, delete the video frame data.
[0053] In the embodiment of the present invention, in order ...
Embodiment 3
[0057] In order to generate a video file that meets user requirements, on the basis of the above embodiments, in this embodiment of the present invention, before acquiring and saving each first video frame data collected according to the received recording instruction, the The method also includes:
[0058] If the preview instruction is received, the collected second video frame data is displayed according to the screen refresh rate of the display device.
[0059] In the embodiment of the present invention, when there is a need to generate a video file, if you want to view the collected video frame data, you can send a preview instruction to the electronic device. After receiving the preview instruction, the electronic device displays the currently collected video frame data through the display device. The user observes the currently collected second video frame data through the display device, and when the video frame data meets the user's needs, can send a recording instruct...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


