mirror of
				https://github.com/amiaopensource/ffmprovisr.git
				synced 2025-11-04 10:49:10 +01:00 
			
		
		
		
	correct trim video command and reinstate text for Excerpt from beginning command
This commit is contained in:
		
							
								
								
									
										16
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								index.html
									
									
									
									
									
								
							@@ -370,9 +370,9 @@
 | 
			
		||||
    <div class="modal-dialog modal-lg">
 | 
			
		||||
      <div class="modal-content">
 | 
			
		||||
        <div class="well">
 | 
			
		||||
          <h3>Trim</h3>
 | 
			
		||||
          <h3>Excerpt from beginning</h3>
 | 
			
		||||
          <p><code>ffmpeg -i <i>input_file</i> -t <i>5</i> -c copy <i>output_file</i></code></p>
 | 
			
		||||
          <p>This command trims the beginning and end of a video file without re-encoding</p>
 | 
			
		||||
          <p>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.</p>
 | 
			
		||||
          <dl>
 | 
			
		||||
            <dt>ffmpeg</dt><dd>starts the command</dd>
 | 
			
		||||
            <dt>-i <i>input_file</i></dt><dd>path, name and extension of the input file</dd>
 | 
			
		||||
@@ -400,14 +400,16 @@
 | 
			
		||||
            <dt>-i <i>input_file</i></dt><dd>path, name and extension of the input file</dd>
 | 
			
		||||
            <dt>-ss 00:02:00</dt><dd>sets in point at 00:02:00</dd>
 | 
			
		||||
		    <dt>-to 00:55:00</dt><dd>sets out point at 00:55:00</dd>
 | 
			
		||||
            <dt>-c copy</dt><dd>use stream copy mode (no re-encoding)</dd>
 | 
			
		||||
			<dd><i>Note:</i> watch out when using <code>-ss</code> with <code>-c copy</code> if the source is encoded with an interframe codec (e.g., H.264). Since ffmpeg must split on i-frames, it will seek to the nearest i-frame to begin the stream copy.</dd>
 | 
			
		||||
            <dt>-c copy</dt><dd>use stream copy mode (no re-encoding)
 | 
			
		||||
			<i>Note:</i> watch out when using <code>-ss</code> with <code>-c copy</code> if the source is encoded with an interframe codec (e.g., H.264). Since ffmpeg must split on i-frames, it will seek to the nearest i-frame to begin the stream copy.</dd>
 | 
			
		||||
            <dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
 | 
			
		||||
          </dl>
 | 
			
		||||
		  </dl>	
 | 
			
		||||
		  <p>Variation: trim video by setting duration, by using <code>-t</code> instead of <code>-to</code></p>
 | 
			
		||||
		  <p><code>ffmpeg -i <i>input_file</i> -ss 00:05:00 -t 10 -c copy <i>output_file</i></code></p>
 | 
			
		||||
          <dt>-ss 00:05:00 -t 10</dt>
 | 
			
		||||
		  <dd>Beginning five minutes into the original video, this command will create a 10-second-long excerpt.</dd>
 | 
			
		||||
		  <dl>  
 | 
			
		||||
			<dt>-ss 00:05:00 -t 10</dt>
 | 
			
		||||
		    <dd>Beginning five minutes into the original video, this command will create a 10-second-long excerpt.</dd>
 | 
			
		||||
		  </dl>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user