POV-Ray : Newsgroups : povray.off-topic : Mencoder question Server Time
10 Oct 2024 13:10:36 EDT (-0400)
  Mencoder question (Message 54 to 63 of 73)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: StephenS
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 06:25:01
Message: <web.48578fa6ab673addb5291a10@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> I am becoming increasingly frustrated with Mencoder.
>
> Does *anybody* know of *any* tool [apart from Mencoder] which can
> programmatically generate an uncompressed AVI file from a bunch of PNG
> files? I can't believe how hard this is...

You don't state which operating system, I use TMPGEnc and the vfpng.vfp plugin
posted on POV-Ray's news server.


Post a reply to this message

From: Invisible
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 06:26:43
Message: <48579163$1@news.povray.org>
>> Does *anybody* know of *any* tool [apart from Mencoder] which can
>> programmatically generate an uncompressed AVI file from a bunch of PNG
>> files? I can't believe how hard this is...
> 
> You don't state which operating system, I use TMPGEnc and the vfpng.vfp plugin
> posted on POV-Ray's news server.

Windows.

And TMPGEnc is nice of course, but as far as I'm aware there's no way to 
control it from an external program.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Invisible
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 06:29:00
Message: <485791ec@news.povray.org>
Invisible wrote:

> - VirtualDub: Has "Sylia, the world's worst scripting language", which 
> may or may not allow me to do what I want.

Muhuhuhuhu!

Create a file 'Foo.script' that contains the three lines

   VirtualDub.Open("Frame00000.png");
   VirtualDub.video.SetTargetFrameRate(25,1);
   VirtualDub.SaveAVI("Fern.avi");

Then execute "vdub.exe /i Foo.script" and your AVI file will be 
constructed! (And I already know Virtual Dub works properly...)

 From the ashes disaster grow the roses of success!

Success!

Success!

[God damnit, now I have that song in my head... >_< ]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Invisible
Subject: VirtualDub FTW!
Date: 17 Jun 2008 06:40:15
Message: <4857948f$1@news.povray.org>
> Muhuhuhuhu!
> 
> Create a file 'Foo.script' that contains the three lines
> 
>   VirtualDub.Open("Frame00000.png");
>   VirtualDub.video.SetTargetFrameRate(25,1);
>   VirtualDub.SaveAVI("Fern.avi");
> 
> Then execute "vdub.exe /i Foo.script" and your AVI file will be 
> constructed! (And I already know Virtual Dub works properly...)
> 
> From the ashes disaster grow the roses of success!

Hmm, actually that doesn't *quite* work correctly. The framerate is 
still wrong. However, if you change the middle line to the 
[undocumented] command

   VirtualDub.video.SetFrameRate2(25,1,1);

it works fine. Interesting...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Stephen
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 06:55:01
Message: <iv5f54l3tc7uhii21r58t9rj5f27utn49e@4ax.com>
On Tue, 17 Jun 2008 11:29:02 +0100, Invisible <voi### [at] devnull> wrote:

>
>Success!

Do you have any idea how I can get this effect?
Frame_01 displayed for 2 seconds
Frame_02 to Frame_100 standard animation.
 
Without rendering Frame_01 X times? Or copying it and renaming it as a
sequence.
-- 

Regards
     Stephen


Post a reply to this message

From: Invisible
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 07:43:38
Message: <4857a36a$1@news.povray.org>
Stephen wrote:

> Do you have any idea how I can get this effect?
> Frame_01 displayed for 2 seconds
> Frame_02 to Frame_100 standard animation.
>  
> Without rendering Frame_01 X times? Or copying it and renaming it as a
> sequence.

Hmm, tricky... Start reading here:

http://www.virtualdub.org/docs/vdscript.txt

You might be able to do something with VirtualDub.Append(), but I'm not 
sure you can open a single frame by itself unless it's named something 
different from the rest of the sequence. E.g., you might be able to do

   VirtualDub.Open("Fr_01.png");
   VirtualDub.Append("Fr_01.png");
   VirtualDub.Append("Fr_01.png");
   ...
   VirtualDub.Append("Fr_01.png");
   VirtualDub.Append("Frame_02.png");
   VirtualDub.SaveAVI("Thing.avi");

That's my best guess.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Invisible
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 07:53:21
Message: <4857a5b1@news.povray.org>
Stephen wrote:

> Do you have any idea how I can get this effect?
> Frame_01 displayed for 2 seconds
> Frame_02 to Frame_100 standard animation.
>  
> Without rendering Frame_01 X times? Or copying it and renaming it as a
> sequence.

Actually, in this instance, you may possibly be better off using 
AVIsynth. It seems more geared to this kind of editing.

Write an AVIsynth script that produces the correct animation, and then 
have VirtualDub open the script file as if it were a normal AVI file, 
and save the result to a *real* AVI file.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Stephen
Subject: Re: Not Mencoder then
Date: 17 Jun 2008 08:19:48
Message: <quaf54pu735rdqjpao5d3hno1edri2g50m@4ax.com>
On Tue, 17 Jun 2008 12:53:21 +0100, Invisible <voi### [at] devnull> wrote:

>
>Write an AVIsynth script that produces the correct animation, and then 
>have VirtualDub open the script file as if it were a normal AVI file, 
>and save the result to a *real* AVI file.

That looks good with a loop command. It also pointed me to
VirtualDubMod. I did not know about that.
Thanks
-- 

Regards
     Stephen


Post a reply to this message

From: Warp
Subject: Re: Mencoder question
Date: 17 Jun 2008 08:20:03
Message: <4857abf1@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> >> http://download.orphi.me.uk/Video/Example.mpg
> > 
> >   No such server.

> Au contrare, I think my host's MIME types are configured wrong or 
> something. Try downloading the file and playing it locally...

  MIME types have nothing to do with whether my computer can see that
host at all.

  It's working now, though.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Mencoder question
Date: 17 Jun 2008 08:21:22
Message: <4857ac42@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> >> Why can't I just say -ovc mpeg1? Why do I have to say -ovc lacv 
> >> -lavcopts vcodec=mpeg1video? That seems unecessarily complex.
> > 
> >     Warp answered that: Why should mencoder choose for you which library 
> > you should use?

> I was under the impression that Mencoder *is* a library...

  No, it's a program.

-- 
                                                          - Warp


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.