POV-Ray : Newsgroups : povray.binaries.animations : Dan's Eye Candy #4... quality problem! : Re: Dan's Eye Candy #4... quality problem! Server Time
26 Apr 2024 08:40:40 EDT (-0400)
  Re: Dan's Eye Candy #4... quality problem!  
From: Dan Byers
Date: 18 Feb 2017 10:20:01
Message: <web.58a865384adffa85bb95b1840@news.povray.org>
dick balaska <dic### [at] buckosoftcom> wrote:
> That does look bleak.  Did it look good before you uploaded it?
> These are my settings for 480p, which is 720x480. (Your 640x400 is an
> oddball size).
>
> ffmpeg  -r 23.976 -i tteoac-%d.png -crf 24 -c:v libx264 -aspect 16:9
> -pix_fmt yuv420p $OUTFILE
>
> The -aspect is because 480p is wacky non-square pixels.
>
> Lower numbers for -crf is higher quality.  This is my 720p (1280x720)
>
> ffmpeg  -y -r 30 -i tteoac-%d.png -s hd720 -crf 18 -c:v libx264 -pix_fmt
> yuv420p $OUTFILE
>
> (and the new 1080p, which looks pretty awesome in previews)
> ffmpeg  -y -r 23.976 -thread_queue_size 512 -i tteoac-%d.png -c:v
> libx264 -crf 18 -preset slow -level 4.1 -g 25 -bf 2 -pix_fmt yuv420p
> $OUTFILE

The settings I used (for ffmpeg 3.2.2.3 running on Mac OS X El Capitan via
MacPorts):

ffmpeg -i A%04d.png -vcodec libx264 -pix_fmt yuv420p -r 60 A.mov

The clock values in POV are set for a 24-FPS film, but I have to set -r to 60 to
get rid of herky-jerky frames that hang every second of runtime.  I'm sure
there's a long and convoluted technical reason for it, but I have no clue what
it is (and as long as -r 60 solves my problem, I don't care)...

--
Dan Byers
roadkillpuppy.com
facebook.com/roadkillpuppy


Post a reply to this message

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