POV-Ray : Newsgroups : povray.general : mencoder - from *.png into *.avi? Server Time
4 Nov 2024 21:21:57 EST (-0500)
  mencoder - from *.png into *.avi? (Message 1 to 8 of 8)  
From: rafal
Subject: mencoder - from *.png into *.avi?
Date: 9 May 2008 19:13:37
Message: <4824daa1@news.povray.org>
Hello,
if I have *.png files, then how to generate an .avi out of it? With 25 fps.


Post a reply to this message

From: Warp
Subject: Re: mencoder - from *.png into *.avi?
Date: 9 May 2008 20:40:23
Message: <4824eef7@news.povray.org>
rafal <new### [at] limcorecom> wrote:

> Hello,
> if I have *.png files, then how to generate an .avi out of it? With 25 fps.

  man mencoder

  The -mf option is the one you are looking for.

-- 
                                                          - Warp


Post a reply to this message

From: Thibaut Jonckheere
Subject: Re: mencoder - from *.png into *.avi?
Date: 10 May 2008 03:52:21
Message: <48255435$1@news.povray.org>

> Hello,
> if I have *.png files, then how to generate an .avi out of it? With 25 fps.
> 


I used this :

mencoder mf://E:\Pov\road\anim\*.png -mf w=800:h=600:fps25:type=png -of 
mpeg -ovc lavc -lavcopts vcoded=mpeg4:mbd=2:trell -o 
E:\Pov\road\anim\road_parametric5.mpeg


(this is rather low bitrate)

Thibaut


Post a reply to this message

From: Nicolas George
Subject: Re: mencoder - from *.png into *.avi?
Date: 10 May 2008 03:57:01
Message: <4825554d$1@news.povray.org>
Thibaut Jonckheere  wrote in message <48255435$1@news.povray.org>:
> mencoder mf://E:\Pov\road\anim\*.png -mf w=800:h=600:fps25:type=png -of 
> mpeg -ovc lavc -lavcopts vcoded=mpeg4:mbd=2:trell -o 
> E:\Pov\road\anim\road_parametric5.mpeg
> 
> (this is rather low bitrate)

There is no option tu set the bitrate, you get whatever the default would
be. Furthermore, you put very few options to increase the efficiency of the
encoding. I personally use the following settings:

-ovc x264 -x264encopts
frameref=8:bframes=2:8x8dct:me=umh:subq=7:nodct_decimate:trellis=2:weight_b:direct_pred=auto:crf=20

The crf option is the overall quality.


Post a reply to this message

From: Jim Henderson
Subject: Re: mencoder - from *.png into *.avi?
Date: 10 May 2008 15:03:54
Message: <4825f19a$1@news.povray.org>
On Sat, 10 May 2008 03:57:01 -0400, Nicolas George wrote:

> There is no option tu set the bitrate, you get whatever the default
> would be

Actually, you can set the bitrate according to the man page - it's part 
of the lavcopts parameter, probably depends on the codec used.

Jim


Post a reply to this message

From: Thibaut Jonckheere
Subject: Re: mencoder - from *.png into *.avi?
Date: 10 May 2008 15:32:52
Message: <4825f864$1@news.povray.org>
> 
> There is no option tu set the bitrate, you get whatever the default would
> be. Furthermore, you put very few options to increase the efficiency of the
> encoding. I personally use the following settings:
> 
> -ovc x264 -x264encopts
frameref=8:bframes=2:8x8dct:me=umh:subq=7:nodct_decimate:trellis=2:weight_b:direct_pred=auto:crf=20
> 
> The crf option is the overall quality.

Agreed over the few options - but I just wanted to show a simple 
example, to help to get started (the documentation of mencoder is not 
crystal clear about all these options, personnaly I feel somewhat 
confuse...).

Anyway, here is a more complete command I used (note the vbitrate option 
btw, so I guess it exists ;-) )

C:\Documents and 
Settings\Thibaut\Bureau\Videotools\MPlayer-1.0rc2>mencoder mf:
//*.png -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=4000000:vpass=2:mbd=2:keyint=1
32:v4mv:vqmin=3:lumi_mask=0.07:dark_mask=0.2:mpeg_quant:scplx_mask=0.1:tcplx_mas
k=0.1:naq -mf fps=25 -nosound -o trybest.avi


Thibaut


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: mencoder - from *.png into *.avi?
Date: 13 May 2008 14:52:58
Message: <4829e38a$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Henderson wrote:
> On Sat, 10 May 2008 03:57:01 -0400, Nicolas George wrote:
> 
>> There is no option tu set the bitrate, you get whatever the default
>> would be
> 
> Actually, you can set the bitrate according to the man page - it's part 
> of the lavcopts parameter, probably depends on the codec used.
> 
	I believe Nicolas meant: "there is no option to set the bitrate /in
this command-line example/"...

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIKeOJd0kWM4JG3k8RAjVlAKCjpJPc+myuleUxKB06t+muE8SJagCfaBac
Q+poJ+peEVoRBFmOT6hWfXA=
=lS6m
-----END PGP SIGNATURE-----


Post a reply to this message

From: Jim Henderson
Subject: Re: mencoder - from *.png into *.avi?
Date: 13 May 2008 15:07:29
Message: <4829e6f1$1@news.povray.org>
On Tue, 13 May 2008 20:52:58 +0200, Jérôme M. Berger wrote:

> 	I believe Nicolas meant: "there is no option to set the bitrate /
in
> this command-line example/"...

Ah, I see....

Jim


Post a reply to this message

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