Extracting a Portion of Video using FFMPEG

If you would like to extract a portion of a video without re-encoding, consider using FFMPEG. The following example illustrates a command to extract a video from the 24th minute line and for 4 minutes 8 seconds, keeping all audio tracks.

ffmpeg -i input.mpg -c copy -ss 00:24:00.000 -t 00:04:08.000 -map 0:v -map 0:a output.mpg

Posted in Tips & Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *

*