 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 17 Jun 2008 10:27:49 +0100, Invisible <voi### [at] dev null> 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...
A bit old but DTA (Dave's Targa Animator) could be programmed after a
fashion
I can't remember if it uses PNG's
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible wrote:
> 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...
My research so far:
- Media Coder: Appears to be a thin front-end for Mencoder.
- AVIsynth: Doesn't actually synthesize AVIs.
- ImageMagick: Appears to *read* AVIs, but not write them.
- VirtualDub: Has "Sylia, the world's worst scripting language", which
may or may not allow me to do what I want.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible <voi### [at] dev null> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 17 Jun 2008 11:29:02 +0100, Invisible <voi### [at] dev null> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |