POV-Ray : Newsgroups : povray.animations : Mpeg2 encoder found Server Time
28 Jul 2024 20:27:51 EDT (-0400)
  Mpeg2 encoder found (Message 11 to 20 of 36)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Jon A  Cruz
Subject: Re: Mpeg2 encoder found
Date: 21 Nov 1999 01:27:03
Message: <3837911F.9867E315@geocities.com>
Dick Balaska wrote:

> TonyB wrote:
> >
> > Someguy at school said it was 720x486. Darn... I'll have to fix that...
>
> I've seen that too.  I've also seen that the blocks are divisible by "16 or 32".
> 486/32=15.1875 or 30.375
>
> mpeg2enc.c:85
> /* round picture dimensions to nearest multiple of 16 or 32 */
> mb_width = (horizontal_size+15)/16;
> mb_height = prog_seq ? (vertical_size+15)/16 : 2*((vertical_size+31)/32);
>
> Of course, these are NTSC numbers.  Our PAL buddies get better resolution.
>
> dik

Depends. They get more lines of resolution, but fewer frames per second.


--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Mpeg2 encoder found
Date: 21 Nov 1999 01:29:36
Message: <383791B9.BDF7B34B@geocities.com>
TonyB wrote:

> So NTSC is 720x480ish. What is PAL?

720x560 25 fps 9843.75k

NTSC is 720x480ish 30 fps

(Of course, the horizontal really depends on the approach you are taking
it, as it is analog)

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: Dick Balaska
Subject: Re: Mpeg2 encoder found
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

From: Dick Balaska
Subject: Re: Mpeg2 encoder found
Date: 2 Dec 1999 19:44:50
Message: <38471289.948B251D@buckosoft.com>
Dick Balaska wrote:

> 
> 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. :(

I have png support added to mpeg2encode, and have it recompiled as a Win32 console
program.  You can fetch it from here if you'd like:

http://www.buckosoft.com/gallery/tools/mpeg2/

I still haven't got a decent mpeg2 out of it yet, either underruns or overruns;
so many parameters to tweak, so little time.

-- 
           _,--"
dik        `-._        ________-_______        "----
       _----'--'--------------------------------'--'----_
      //_| | \        dic### [at] buckosoftcom          / | |_\\
     (_____|_|__= Guilford CT +1.203.458.0389  =__|_|_____)
     _\_____=___   http://www.buckosoft.com     ___=_____/_
       \/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/
Early Net Poetry:
Wustl, Wustl, ERR RIP MIT BOOT, BIND Wustl


Post a reply to this message

From: Ken
Subject: Re: Mpeg2 encoder found
Date: 2 Dec 1999 19:53:50
Message: <3847141A.3D22DB3D@pacbell.net>
Dick Balaska wrote:

> I have png support added to mpeg2encode, and have it recompiled as a Win32 console
> program.  You can fetch it from here if you'd like:
> 
> http://www.buckosoft.com/gallery/tools/mpeg2/
> 
> I still haven't got a decent mpeg2 out of it yet, either underruns or overruns;
> so many parameters to tweak, so little time.

You just might become a hero for this :)

I'll add your link to the collection at the povray.org links page if
you are ok with it.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: omniVERSE
Subject: Re: Mpeg2 encoder found
Date: 2 Dec 1999 22:08:25
Message: <38473429@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote in message
news:3847141A.3D22DB3D@pacbell.net...
>
> You just might become a hero for this :)
>

Maybe not if others get the same transfer rate I'm getting here trying to
D/L the file.  Over 20 minutes it looks like for a 0.9 Meg file??  Probably
just my bad luck.
There couldn't be a better concept than Png to Mpg for POV-Ray animation
making I believe.  Way to go.  Hope I can get it to work here.

 Bob


Post a reply to this message

From: Ken
Subject: Re: Mpeg2 encoder found
Date: 2 Dec 1999 22:26:26
Message: <384737D8.5A9C2349@pacbell.net>
omniVERSE wrote:

> There couldn't be a better concept than Png to Mpg for POV-Ray animation
> making I believe.  Way to go.  Hope I can get it to work here.

Let us know how it works, Bob. I don't have time to test it myself right
now but would like to keep the option open for later use.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: J  Grimbert
Subject: Re: Mpeg2 encoder found
Date: 3 Dec 1999 05:24:30
Message: <38479A5F.D5FEDDA8@atos-group.com>
omniVERSE wrote:
> 
> Ken <tyl### [at] pacbellnet> wrote in message
> news:3847141A.3D22DB3D@pacbell.net...
> >
> > You just might become a hero for this :)
> >
> 
> Maybe not if others get the same transfer rate I'm getting here trying to
> D/L the file.  Over 20 minutes it looks like for a 0.9 Meg file??  Probably
> just my bad luck.

It works well for me: 0.9 Meg at an average rate of 7.5k/sec , about 2 minutes.
So, I wish you a better luck.


Post a reply to this message

From: omniVERSE
Subject: Re: Mpeg2 encoder found
Date: 3 Dec 1999 05:32:43
Message: <38479c4b@news.povray.org>
I can confirm that Png files can be used.  However, like Dick, I cannot seem
to find a suitable setup if there is one, and which also can play the
resulting M2v file back correctly in MS Media Player 6.4 (or another mpeg
player).  I've tried most every feasible way to run the encoder so
somethings eluding me still.  I'll keep at it until I drop it due to
frustration because the Png format is nice to use directly.  Afterall the
animations do play, just strangely and without loopability.

Bob

Ken <tyl### [at] pacbellnet> wrote in message
news:384737D8.5A9C2349@pacbell.net...
>
>
> omniVERSE wrote:
>
> > There couldn't be a better concept than Png to Mpg for POV-Ray animation
> > making I believe.  Way to go.  Hope I can get it to work here.
>
> Let us know how it works, Bob. I don't have time to test it myself right
> now but would like to keep the option open for later use.
>
> --
> Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Fabian Brau
Subject: Re: Mpeg2 encoder found
Date: 3 Dec 1999 09:54:47
Message: <3847DA42.FF4A6AA2@umh.ac.be>
Hello,

what is tha adventage of mpeg2 on mpeg1?? Better compression? 
If yes, what is the gain?

Thanks

Fabian.

omniVERSE wrote:
> 
> I can confirm that Png files can be used.  However, like Dick, I cannot seem
> to find a suitable setup if there is one, and which also can play the
> resulting M2v file back correctly in MS Media Player 6.4 (or another mpeg
> player).  I've tried most every feasible way to run the encoder so
> somethings eluding me still.  I'll keep at it until I drop it due to
> frustration because the Png format is nice to use directly.  Afterall the
> animations do play, just strangely and without loopability.
> 
> Bob
> 
> Ken <tyl### [at] pacbellnet> wrote in message
> news:384737D8.5A9C2349@pacbell.net...
> >
> >
> > omniVERSE wrote:
> >
> > > There couldn't be a better concept than Png to Mpg for POV-Ray animation
> > > making I believe.  Way to go.  Hope I can get it to work here.
> >
> > Let us know how it works, Bob. I don't have time to test it myself right
> > now but would like to keep the option open for later use.
> >
> > --
> > Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> > http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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