POV-Ray : Newsgroups : povray.animations : lame png -> avi Server Time
15 Jun 2024 06:20:49 EDT (-0400)
  lame png -> avi (Message 1 to 6 of 6)  
From: Rafal 'Raf256' Maj
Subject: lame png -> avi
Date: 5 Dec 2004 13:02:56
Message: <Xns95B6C20D17293raf256com@203.29.75.35>
Hi,
sorry for such easy question, but Im realy in a hurry,

how can I compress *.png / *.tga output into *.avi in XVid/DivX/Mpeg-1,2,4 
codecs, and set up quality (and kb/s, and use 2-pass encoding)?

Can this be done in MPlayer (how?)


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Manuel Mata
Subject: Re: lame png -> avi
Date: 5 Dec 2004 14:05:00
Message: <web.41b35b6cf0f9442570da6b7c0@news.povray.org>
Hi

I render the frames of animation in *.bmp, then i use avicreator to make an
avi and then convert to mpeg1 with TMPGEnc. I finally got a "configuration"
for a good quality mpegs but i think i still have to find optimal one.

If u want i send you the .mcf file for configuration on TMPGEnc.

Was this what u were asking for ? :P

See ya.

                   Manuel Mata Rueda
                   http://es.geocities.com/manuel_mata_rueda


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: lame png -> avi
Date: 5 Dec 2004 14:32:57
Message: <Xns95B6D150367DDraf256com@203.29.75.35>
man### [at] yahooes 
news:web.41b35b6cf0f9442570da6b7c0@news.povray.org

> Was this what u were asking for ? :P

Ufm.. yes ;) But - I need this on Linux (and best - from command line :)

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Warp
Subject: Re: lame png -> avi
Date: 6 Dec 2004 02:28:22
Message: <41b40a16@news.povray.org>
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> Ufm.. yes ;) But - I need this on Linux (and best - from command line :)

  Then use mencode. It can read image files directly and create an avi
with whichever encoding you like.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Thomasso
Subject: Re: lame png -> avi
Date: 9 Dec 2004 18:05:00
Message: <web.41b8d934f0f94425160cebe80@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> > Ufm.. yes ;) But - I need this on Linux (and best - from command line :)

I run Linux,.... Kjpeg2Avi is what I use. You can use it either from the
command line or with the KDE GUI. You should find it at Sourcefourge
repository or do a search.

Even though it says it converts jpeg to avi, it manages to convert png to
jpg then to avi. Of course, you need to make sure the frame size is correct
for avi.

hope this helps?

TOM


Post a reply to this message

From: Mike C
Subject: Re: lame png -> avi
Date: 16 Aug 2005 13:55:00
Message: <web.430227e8f0f9442544365ed70@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> Hi,
> how can I compress *.png / *.tga output into *.avi in XVid/DivX/Mpeg-1,2,4
> codecs, and set up quality (and kb/s, and use 2-pass encoding)?
>
> Can this be done in MPlayer (how?)

Read the MPlayer/MEncoder man page.
mencoder "mf://*.png" -mf fps=30:type=png -o output.avi -ovc lavc -lavcopts
vcodec=msmpeg4

Feel free to change "*.png" to "name???.png" and "output.avi" to whatever
you want.

Feelfree to change msmpeg4 to whatever you want that is supported; see "lavc
(-lavcopts)" under the man page of mplayer.

Man page can be accessed via "man mplayer" or online on a mirror that isn't
the main one (which is currently offline).


Post a reply to this message

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