System and method for pre-recording video
Embodiments of the invention generally relate to methods and apparatus for pre-recording digital video. The method includes pre-recording video data prior to initiation of a record command from a user. After initiation of a record command from the user, recorded video data is captured. The pre-recorded video data and the recorded video data are optionally appended or combined into a single file. The apparatus includes a non-transitory computer readable containing instructions for pre-recording video.
1. A method of pre-recording a video, comprising:
receiving input in a software application selecting a first time interval of video based upon a predetermined time or file size;
receiving input in the software application selecting a second time interval of video different than the first time interval of video;
recording a first video file corresponding to the first time interval of video and saving the first video file to a data storage;
recording a second video file corresponding to the second time interval of video simultaneously with the recording a first video file and saving the second video file to the data storage;
determining, at an end of the first time interval of video, whether a record instruction has been received;
determining, at an end of the second time interval of video, whether the record instruction has been received;
determining, at any point during the first time interval of video, whether the record instruction has been received;
determining, at any point during the second time interval of video, whether the record instruction has been received;
in response to receiving the record instruction in either the first time interval of video or the second time interval of video, recording a third time interval of video and saving a third video file corresponding to the third time interval of video to the data storage; and
receiving input appending the third video file to the first video file or the second video file.
2. The method of claim 1 , wherein the first video file or the second video file are appended to the third video file and saved as a single file.
3. The method of claim 1 , wherein the first video file and the second video file are saved as separate files from the third video file.
4. The method of claim 3 , further comprising appending the third video file to either of the first video file or the second video file.
5. The method of claim 4 , wherein the third video file is appended to the second video file in response to scrubbing the second video file.
6. The method of claim 4 , wherein the third video file is appended to the first video file in response to scrubbing the second video file.
7. A non-transitory computer readable medium having a sequence of instructions for pre-recording a video, which when executed by a processing unit of a system, causes the system to:
receive input in a software application selecting a first time interval of video based upon a predetermined time or file size;
receive input in the software application selecting a second time interval of video different than the first time interval of video;
record a first video file corresponding to the first time interval of video and save the first video file to a data storage;
record a second video file corresponding to the second time interval of video simultaneously with the recording a first video file and save the second video file to the data storage;
determine, at an end of the first time interval of video, whether a record instruction has been received;
determine, at an end of the second time interval of video, whether the record instruction has been received;
determine, at any point during the first time interval of video, whether the record instruction has been received;
determine, at any point during the second time interval of video, whether the record instruction has been received;
in response to receiving the record instruction in either the first time interval of video or the second time interval of video, record a third time interval of video and save a third video file corresponding to the third time interval of video to the data storage; and
receive input appending the third video file to the first video file or the second video file.
8. The non-transitory computer readable medium of claim 7 , wherein the first video file or the second video file are appended to the third video file and saved as a single file.
9. The non-transitory computer readable medium of claim 7 , wherein the first video file and the second video file are saved as separate files from the third video file.
10. The non-transitory computer readable medium of claim 9 , further comprising appending the third video file to either of the first video file or the second video file.
11. The non-transitory computer readable medium of claim 10 , wherein the third video file is appended to the second video file in response to scrubbing the second video file.
12. The non-transitory computer readable medium of claim 10 , wherein the third video file is appended to the first video file in response to scrubbing the first video file.
13. A system, comprising:
a camera;
a processing unit;
a non-transitory computer readable medium having a sequence of instructions for pre-recording a video, which when executed by the processing unit causes the system to:
receive input in a software application selecting a first time interval of video based upon a predetermined time or file size;
receive input in the software application selecting a second time interval of video different than the first time interval of video;
record a first video file corresponding to the first time interval of video and save the first video file to a data storage;
record a second video file corresponding to the second time interval of video simultaneously with the recording a first video file and save the second video file to the data storage;
determine, at an end of the first time interval of video, whether a record instruction has been received;
determine, at an end of the second time interval of video, whether the record instruction has been received;
determine, at any point during the first time interval of video, whether the record instruction has been received;
determine, at any point during the second time interval of video, whether the record instruction has been received;
in response to receiving the record instruction in either the first time interval of video or the second time interval of video, record a third time interval of video and save a third video file corresponding to the third time interval of video to the data storage; and
receive input appending the third video file to the first video file or the second video file.
14. The system of claim 13 , wherein the system is a smart phone.
15. The system of claim 13 , wherein the system is a digital camera.
16. The system of claim 13 , wherein the system is a video recorder.
17. The system of claim 13 , wherein the first video file or the second video file are appended to the third video file and saved as a single file.
18. The system of claim 13 , wherein the first video file and the second video file are saved as separate files from the third video file.
19. The system of claim 18 , further comprising appending the third video file to either of the first video file or the second video file.
20. The system of claim 19 , wherein the second time interval of video is greater than the first time interval of video.