[MEncoder-users] Converting raw grayscale stream to xvid or other video
Sarag
kordova at gmail.com
Thu Jun 15 15:08:00 CEST 2006
Hmmm, good point. Thank you for the correction.
Now I have tried:
mencoder red.raw -rawvideo
w=1024:h=768:fps=24.0:size=786432:format=Y8-lavcopts gray -ovc xvid -o
output.avi
As well as:
mencoder red.raw -rawvideo w=1024:h=768:fps=24.0:size=786432:y8 -lavcopts
gray -ovc xvid -o output.avi
And:
mencoder red.raw -rawvideo w=1024:h=768:fps=24.0:size=786432 f format=Y8
-lavcopts gray -ovc xvid -o output.avi
Which all yield the same result as before:
============ Sorry, this file format is not recognized/supported
=============
=== If this file is an AVI, ASF or MPEG stream, please contact the author!
===
Cannot open demuxer
With these parameters should not any file of the requisite size be
converted? I do not think that to be related, but the file size is 202899456
bytes, which is 1024 * 768 * 258 frames.
I am uncertain as to where I have erred.
Thanks again for your assistance.
On 6/15/06, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>
wrote:
>
> 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
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
More information about the MEncoder-users
mailing list