From 084dadc7dce03bf44b5fd1aa52d6313bbabb1927 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 2 Feb 2003 21:11:59 +0000 Subject: [PATCH] - rawrgb limitation - appending AVI files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9228 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/encoding.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/DOCS/encoding.html b/DOCS/encoding.html index ac17285275..a04b2d03a9 100644 --- a/DOCS/encoding.html +++ b/DOCS/encoding.html @@ -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 @@ Explanation of the process:   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