# HG changeset patch # User arpi # Date 1044220319 0 # Node ID fd31a5bef5f9ce78480474755496db6d363f6169 # Parent 5e75451005fc227b7a656ff623c99db31ed970c9 - rawrgb limitation - appending AVI files diff -r 5e75451005fc -r fd31a5bef5f9 DOCS/encoding.html --- a/DOCS/encoding.html Sun Feb 02 20:57:21 2003 +0000 +++ b/DOCS/encoding.html Sun Feb 02 21:11:59 2003 +0000 @@ -157,6 +157,16 @@

Command: mencoder -idx input.avi -ovc copy -oac copy -o output.avi

+

7.5.1 Appending multiple AVI files

+ +

As a side-effect of fixing broken AVi files, it can be used to fix the +result of appending 2 (or more) AVI files:

+ +

Command: cat 1.avi 2.avi | mencoder -noidx -ovc copy -oac copy -o output.avi -

+ +

NOTE: It expects 1.avi and 2.avi use the same codecs, resolution, stream +rate etc, and at least 1.avi be non-broken. You may need to fix your input +AVI files first, as described above at 7.5

7.6 Encoding with the libavcodec codec family

@@ -222,6 +232,8 @@   mencoder -mf on:w=800:h=600:fps=25:type=png -ovc rawrgb -o output.avi \*.png

+

NOTE: Width must be integer multiple of 4, it's a limitation of the RAW RGB AVI format.

+

Creating a Motion PNG (MPNG) file from all the PNG files in the current dir:
  mencoder -mf on:w=800:h=600:fps=25:type=png -ovc copy -o output.avi \*.png