User Tools

Site Tools


util:multimedia:ffmpeg

Differences

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

Link to this comparison view

util:multimedia:ffmpeg [2015/04/21 02:27]
127.0.0.1 external edit
util:multimedia:ffmpeg [2020/11/18 14:38] (current)
phil Added info about concat
Line 51: Line 51:
   * scale to yres of 480, keeping aspect ratio (-1)   * scale to yres of 480, keeping aspect ratio (-1)
   * drop audio input (-an)   * drop audio input (-an)
 +
 +===== Concatenating Videos =====
 +
 +A quick and easy way to concat videos without re-encoding is to use the
 +''​concat''​ format specifier:
 +
 +  $ cat mylist.txt
 +  file '/​path/​to/​file1'​
 +  file '/​path/​to/​file2'​
 +  file '/​path/​to/​file3'​
 +  ​
 +  $ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
 +
 +===== Links =====
 +
 +[[https://​stackoverflow.com/​questions/​7333232/​how-to-concatenate-two-mp4-files-using-ffmpeg|How to concatenate two mp4 files on Stackoverflow]]
  
util/multimedia/ffmpeg.txt · Last modified: 2020/11/18 14:38 by phil