POV-Ray : Newsgroups : povray.animations : PNG to MP4 Server Time
19 Apr 2024 01:38:54 EDT (-0400)
  PNG to MP4 (Message 1 to 2 of 2)  
From: Roland Mösl
Subject: PNG to MP4
Date: 4 Nov 2018 09:15:56
Message: <5bdeff1c$1@news.povray.org>
Hallo,

after I was here last time 2011,
I am just again in povray animations.

Since I changed to Linux 2016,
i was again at the question,
how to convert all the images
created by POV to a video
I found an answer at:

https://ubuntuforums.org/showthread.php?t=2173013

ffmpeg -f image2 -r 6 -i 'img%02d.png' output.mp4

Seems I have only to change 6 to 30 to have 30 frames
per second.
Seems ffmpeg is available for Linux and Windows

-- 
Roland Mösl - PEGE - http://www.pege.org
Planetary Engineering Group Earth


Post a reply to this message

From: dick balaska
Subject: Re: PNG to MP4
Date: 5 Nov 2018 02:26:32
Message: <5bdff0a8$1@news.povray.org>
On 11/4/18 9:15 AM, Roland Mösl wrote:

> 
> ffmpeg -f image2 -r 6 -i 'img%02d.png' output.mp4
> 
> Seems I have only to change 6 to 30 to have 30 frames
> per second.

yes.

> Seems ffmpeg is available for Linux and Windows

yes, I've used it on both.

> 

I would completely omit "-f image2".  "-f" specifies file formats which
is only useful if you are not using the standard extensions of ".png"
and ".mp4".  (And I'm not sure what an 'image2' format is)

-- 
dik
Rendered 1024 of 921600 pixels (0%)


Post a reply to this message

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