User Tools

Site Tools


ffmpeg:trimming_time_selection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ffmpeg:trimming_time_selection [2025/01/02 22:37] – created peterffmpeg:trimming_time_selection [2025/01/02 22:57] (current) peter
Line 12: Line 12:
  
 </WRAP> </WRAP>
 +
 +----
 +
 +===== Lossless Cropping or Trimming of Videos =====
 +
 +<code bash>
 +ffmpeg -i input.mp4 -ss 00:00:00 -to 01:30:15 -c:v copy -c:a copy output.mp4
 +</code>
 +
 +<WRAP info>
 +**NOTE:**
 +
 +  * Omit the **-to** parameter to trim till the end.
 +  * Use **-t** parameter instead to specify duration, not end time.
 +
 +</WRAP>
 +
 +----
 +
  
ffmpeg/trimming_time_selection.1735857463.txt.gz · Last modified: 2025/01/02 22:37 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki