POV-Ray : Newsgroups : povray.binaries.animations : Dan's Eye Candy #4... quality problem! Server Time
21 Dec 2024 21:12:13 EST (-0500)
  Dan's Eye Candy #4... quality problem! (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Jörg "Yadgar" Bleimann
Subject: Dan's Eye Candy #4... quality problem!
Date: 17 Feb 2017 20:32:18
Message: <58a7a422$1@news.povray.org>
Hi(gh)!

https://youtu.be/znk0zrhUlkM - as announced, an "AtariSTized" version of 
Dan Byer's Eye Candy #4 loop. When creating the video, it was clear and 
crisp, but after uploading it: a sheer catastrophe! I really have no 
clue how to set parameters in ffmpeg to get a decent quality...

See you in Khyberspace!

Yadgar


Post a reply to this message

From: dick balaska
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 17 Feb 2017 22:12:40
Message: <58a7bba8$1@news.povray.org>
Am 2017-02-17 20:32, also sprach Jörg "Yadgar" Bleimann:
> Hi(gh)!
>
> crisp, but after uploading it: a sheer catastrophe! I really have no
> clue how to set parameters in ffmpeg to get a decent quality...
>

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

-- 
dik


Post a reply to this message

From: Dan Byers
Subject: Re: Dan's Eye Candy #4... quality problem!
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

From: Jörg "Yadgar" Bleimann
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 18 Feb 2017 16:06:14
Message: <58a8b746$1@news.povray.org>
Hi(gh)!

On 18.02.2017 16:16, Dan Byers wrote:

> 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)...

Did not work either... could it be that my Firefox uses a crappy Flash 
plugin?

See you in Khyberspace!

Yadgar


Post a reply to this message

From: dick balaska
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 18 Feb 2017 16:34:37
Message: <58a8bded$1@news.povray.org>


> Did not work either... could it be that my Firefox uses a crappy Flash
> plugin?
>

Does it look good locally?  Use VLC to play movies on your PC, for best 
results.


-- 
dik


Post a reply to this message

From: Stephen
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 18 Feb 2017 16:44:47
Message: <58a8c04f$1@news.povray.org>
On 2/18/2017 9:06 PM, Jörg "Yadgar" Bleimann wrote:
> Hi(gh)!
>
> On 18.02.2017 16:16, Dan Byers wrote:
>
>> 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)...
>
> Did not work either... could it be that my Firefox uses a crappy Flash
> plugin?
>

It is a bit better in Chrome but not much. Internet Explorer gives the 
best view of the 3 browsers I have. It still looks grainy but not blocky.


-- 

Regards
     Stephen


Post a reply to this message

From: dick balaska
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 18 Feb 2017 16:48:53
Message: <58a8c145$1@news.povray.org>


>> 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)...
>
> Did not work either... could it be that my Firefox uses a crappy Flash
> plugin?

Can you post your ffmpeg settings?

-- 
dik


Post a reply to this message

From: Jörg "Yadgar" Bleimann
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 18 Feb 2017 17:21:18
Message: <58a8c8de@news.povray.org>
Hi(gh)!

On 18.02.2017 22:34, dick balaska wrote:

> Does it look good locally?  Use VLC to play movies on your PC, for best
> results.

Yes it does... and I in fact use VLC!

See you in Khyberspace!

Yadgar


Post a reply to this message

From: Jörg "Yadgar" Bleimann
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 20 Feb 2017 01:15:00
Message: <58aa8964$1@news.povray.org>
Hi(gh)!

On 18.02.2017 22:44, Stephen wrote:

> It is a bit better in Chrome but not much. Internet Explorer gives the
> best view of the 3 browsers I have. It still looks grainy but not blocky.

Meanwhile, I tried Konqueror (as I'm a Linuxer) - and, yes, it looks 
much better, although still somewhat "compressed"!

See you in Khyberspace!

Yadgar


Post a reply to this message

From: Jörg "Yadgar" Bleimann
Subject: Re: Dan's Eye Candy #4... quality problem!
Date: 20 Feb 2017 01:39:56
Message: <58aa8f3c$1@news.povray.org>
Hi(gh)!

On 18.02.2017 16:16, Dan Byers wrote:

> 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

It seems to be mostly a matter of the browser used... I tried displaying 
it in Konqueror, and it looks MUCH better!

Another question: may AtariSTize/C64ize also your other Eye Candy 
animations?

See you in Khyberspace!

Yadgar


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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