1030Concatenating Videos with ffmpeg

Concatenating videos with the Quicktime Player requires unnecessary decoding/encoding, with takes time and computational resources.

https://trac.ffmpeg.org/wiki/Concatenate

Using ffmpeg

  1. Create a list: mylist.txt

    file '/path/to/file1.mp4'
    file '/path/to/file2.mp4'
    file '/path/to/file3.mp4'
  2. Run ffmpeg `ffmpeg -f concat-i mylist.txt -c copy output.mp4

73Concatenating Strings @”string1″ @”string2″ @”stringN”

That’s basically it. No more [@"string1" stringByAppendingString:@"string2"]; or [NSString stringWithFormat:@"string1%@", @"string1"]; just @"string1" @"string2" @"stringN" -> @"string1string2stringN" The Objective-C 2.0 Programming Language.pdf, p131