Mercurial > mplayer.hg
comparison DOCS/encoding.html @ 3859:686ba9f9393c
scaling only works with YV12
author | gabucino |
---|---|
date | Fri, 28 Dec 2001 22:14:18 +0000 |
parents | 68dae60dd470 |
children | 7510f142e7aa |
comparison
equal
deleted
inserted
replaced
3858:ee0561bf258c | 3859:686ba9f9393c |
---|---|
99 SVCDs have 480x480 size, and their header contains the aspect ratio the | 99 SVCDs have 480x480 size, and their header contains the aspect ratio the |
100 player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to | 100 player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to |
101 AVI (DivX) files, you have be aware that AVI headers don't store this | 101 AVI (DivX) files, you have be aware that AVI headers don't store this |
102 value. Thus, the only solution is rescaling.</P> | 102 value. Thus, the only solution is rescaling.</P> |
103 | 103 |
104 <P>The output size is specified with the <CODE>-x</CODE>, and <CODE>-y</CODE> | 104 <P><B>MEncoder can scale input images if they come in YV12 format (for example: |
105 options. Furthermore, there are 3 rescaling filters in <B>MEncoder</B>, <I>0 | 105 ffdivx, odivx drivers, or mpeg1/2). The output size is specified with the |
106 : fast bilinear</I>, <I>1 : bilinear</I>, <I>2 : bicubic</I> (best quality). | 106 <CODE>-x</CODE>, and <CODE>-y</CODE> options. Furthermore, there are 3 |
107 rescaling filters in <B>MEncoder</B>, <I>0 | |
108 : fast bilinear</I>, <I>1 : bilinear</I>, <I>2 : bicubic</I> (best quality). | |
107 They can be specified with the <CODE>-sws</CODE> option. If not specified, | 109 They can be specified with the <CODE>-sws</CODE> option. If not specified, |
108 <B>MEncoder</B> will use 0 : fast bilinear.</P> | 110 <B>MEncoder</B> will use 0 : fast bilinear.</P> |
109 | 111 |
110 <P>Rescaling is very simple :<BR> | 112 <P>Rescaling is very simple :<BR> |
111 <CODE> mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi</CODE></P> | 113 <CODE> mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi</CODE></P> |