Ffmpeg: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
No edit summary
 
Line 12: Line 12:
Example of removing the first 3 minutes and 45 seconds of n .mp4 video. Source is located on D: drive (zoom_training.mp4) and output (zoom_training_trimmmed.mp4) will be to D: drive
Example of removing the first 3 minutes and 45 seconds of n .mp4 video. Source is located on D: drive (zoom_training.mp4) and output (zoom_training_trimmmed.mp4) will be to D: drive


<syntaxhighlight>ffmpeg -ss 00:03:45.0 -i d:\zoom_training.mp4 -c copy d:\zoom_training_trimmed.mp4</syntaxhighlight>
<syntaxhighlight lang="bash">ffmpeg -ss 00:03:45.0 -i d:\zoom_training.mp4 -c copy d:\zoom_training_trimmed.mp4</syntaxhighlight>


<ref>[https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats OpenSource.com Article]</ref>
<ref>[https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats OpenSource.com Article]</ref>


[[Category:Meta]]
[[Category:Meta]]

Latest revision as of 18:35, 2 February 2021

FFMPEG

A complete, cross-platform solution to record, convert and stream audio and video.

https://ffmpeg.org/



Editing Videos

Trim From Start

Example of removing the first 3 minutes and 45 seconds of n .mp4 video. Source is located on D: drive (zoom_training.mp4) and output (zoom_training_trimmmed.mp4) will be to D: drive

ffmpeg -ss 00:03:45.0 -i d:\zoom_training.mp4 -c copy d:\zoom_training_trimmed.mp4

[1]