From a6f408234493023d6eb5d0b1b373e268ab10153b Mon Sep 17 00:00:00 2001 From: gabucino Date: Sat, 4 May 2002 16:29:11 +0000 Subject: small update git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5969 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/encoding.html | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) (limited to 'DOCS/encoding.html') diff --git a/DOCS/encoding.html b/DOCS/encoding.html index 20d9225e4a..3689588915 100644 --- a/DOCS/encoding.html +++ b/DOCS/encoding.html @@ -18,7 +18,7 @@

MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to encode MPlayer-playable movies -(AVI/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET) to other MPlayer-playable +(AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET) to other MPlayer-playable formats (see below). It can encode with various codecs, like DivX4 (1 or 2 passes), libavcodec, PCM/MP3/VBRMP3 audio. Also has stream copying and video resizing abilities.

@@ -196,15 +196,13 @@ mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi
AVI (DivX) files, you have be aware that AVI headers don't store this value. Thus, the only solution is rescaling.

-

MEncoder can scale input images if they come in YV12 format (for example: - ffdivx, odivx drivers, or mpeg1/2). The output size is specified with the - -x, and -y options. Furthermore, there are some - rescaling filters in MEncoder, see the manpage for them ! - They can be specified with the -sws option. If not specified, - MEncoder will use 0 : fast bilinear.

+

The scaling process is handled by the 'scale' video filter: + -vop scale=X:Y. Its quality can be set with the + -sws option. If it's not specified, MEncoder will use 0 : + fast bilinear.

-

Rescaling is very simple :
-    mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi

+

Usage :
+    mencoder sample-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi

2.4.3.3. Stream copying

@@ -236,7 +234,7 @@ mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi
the video and/or audio streams. It also fixes files with broken interleaving, thus the -ni option won't be needed for them anymore.

-

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

+

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

2.4.3.5. Encoding with the libavcodec codec family

@@ -345,20 +343,6 @@ unsupported). You can encode to the following codecs :

specify output filename - - - -x width in pixels - - rescale output video to given pixels width - - - - - -y height in pixels - - rescale output video to given pixels height - - -sws 0-2 @@ -375,8 +359,6 @@ unsupported). You can encode to the following codecs :

Encode with the given codec (codec names are from codecs.conf). Examples:
  help - get list of available codecs
-   null - do not create a video stream in the output AVI
-   raw - create uncompressed video
  rawrgb - ?
  copy - no encoding, just copy the stream (only from AVI/ASF now)
  divx4 - encode to DivX4
@@ -463,7 +445,7 @@ unsupported). You can encode to the following codecs :

    mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg

Encoding from DVD, title 2, with rescaling :
-     mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi

+     mencoder -dvd 2 -vop scale=640:480 -sws 2 -o title2.avi

Encoding from HTTP :
    mencoder http://mplayer.hq/example.avi -o example.avi

-- cgit v1.2.3