+      
+      
+        
Excerpt from beginning
+        
ffmpeg -i [input file] -t 5 -c copy [output]
+
+        
This command captures a certain portion of a video file, starting from the beginning and continuing for the amount of time (in seconds) specified in the script. This can be used to create a preview file, or to remove unwanted content from the end of the file. To be more specific, use timecode, such as 00:00:05. 
+
+        
+         - ffmpeg: Calls the program ffmpeg+
- -i: Tells ffmpeg to expect input files+
- [input file]: Specifies the location of the file you want to capture a clip from+
- -t 5: Tells ffmpeg to stop copying from the input file after a certain time, and specifies the number of seconds after which to stop copying. In this case, 5 seconds is specified+
- -c copy: Specifies the encoder for the output file by telling ffmpeg to copy the codecs of the original file and use them for the new output file+
- [output]: Specifies the filename and location for the new file+
+      
+