[MEncoder-users] Converting raw grayscale stream to xvid or other video

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jun 15 09:42:06 CEST 2006


Hi.
On Wed, Jun 14, 2006 at 07:00:11PM -0400, Sarag wrote:
>  I have had luck in the past using mencoder on encoding raw files
> consisting of rgb32 values with xvid. However, I now find myself in need of
> encoding raw files made up of grayscale values.
> 
> mencoder ../raw/full.raw -rawvideo w=1024:h=768:fps=
> 24.0:size=3145728:format=RGB32

Well, obviously format=RGB32 is nonsense if your format isn't RGB32. One
f format=Y8 or just :y8 should work.
The gray suboption for lavcopts might be a good idea anyway, since it
should reduce bitrate a bit, by not encoding unnecessary colour
information.

Greetings,
Reimar Döffinger



More information about the MEncoder-users mailing list