FFmpeg: Difference between revisions
| Line 12: | Line 12: | ||
===Extract N seconds starting at time T=== | ===Extract N seconds starting at time T=== | ||
<tt>ffmpeg -i INPUT -c copy -ss T -t N OUTPUT</tt> | <tt>ffmpeg -i INPUT -c copy -ss T -t N OUTPUT</tt> | ||
T can be either a seconds count, or a timestamp i.e. 01:00:20. | * T can be either a seconds count, or a timestamp i.e. 01:00:20. | ||
===Combine input files=== | ===Combine input files=== | ||
<tt>ffmpeg -f concat -safe 0 -i INPUT -c copy OUTPUT</tt> | <tt>ffmpeg -f concat -safe 0 -i INPUT -c copy OUTPUT</tt> | ||
INPUT ought be a newline-delimited set of files, each prefaced with "<tt>file </tt>". | INPUT ought be a newline-delimited set of files, each prefaced with "<tt>file </tt>". | ||