POV-Ray : Newsgroups : povray.animations : Mpeg2 encoder found : Re: Mpeg2 encoder found Server Time
28 Jul 2024 22:15:57 EDT (-0400)
  Re: Mpeg2 encoder found  
From: Dick Balaska
Date: 24 Nov 1999 13:36:59
Message: <383C2FB2.C38AC36E@buckosoft.com>
I got it to work.  

I am disappointed with its output.  MPEG-2 is about bitrate,
and this encoder reports lots of overruns and underruns.  (I think underruns
are the worst, because that sez the next frame will not be decoded in time).

Besides that, the output is still yucky.  Sphot's ears
( http://www.buckosoft.com/gallery/raytrace/sphot/ ) get these brutal, large
quantize pixels near his whenever there is any motion.
(The ears stay still, the camera moves.) 

I guess i need to tweak lots of silly parameters that i know nothing about. 
I am encoding at 4Mbps which is the same bit rate i'm running my hardware encoder.  
Interestingly, my DVD player reports that Antz decodes at 4Mbps which looks fabulous.

My next step is to add png support to mpeg2encode.  I have 2000 frames which is
about 230MB of png frames, which converts to 2GB of ppm frames. :(

Mike wrote:
> 
> > Got the files this time, just now tried it out and didn't get any output
> > done right. 

One of the docs sez that it is built for DJGPP.
DJGPP is a 32 bit flat memory model extender for DOS.  Most likely, its not
compatible with Win95 or NT so rebuilding it is required.

> I've been trying to put something together with it myself and it just hangs at
> the command prompt.  I even left it to run all night and when I came back it was
> still stuck.  I don't know if it's a problem with the ppm files I was using.
> It's says it can only use raw ppm files, but I have no idea what that means.

There are 2 types of ppm files; raw and cooked(?).  They both have the same style
header.

cooked:    raw:
P2         P6
720 480    720 480
255        255

P2 sez that the following data bits are straight ascii; so each pixel is 
like printf("%d %d %d ", red, green, blue);
p6 is binary data, or printf("%c%c%c", red, green, blue);

pngtopnm creates the correct style of ppm files.


dik


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.