Log in

View Full Version : Psy RDO only on part of the video?


Comatose
9th October 2008, 20:45
So, encoding anime. The ED is grainy as hell, and it looks better with psy RDO on, but everything else looks better with psy RDO off.

Is it possible to enable psy RDO only for the ED somehow, or do I have to encode separately and then join?
If I have to join, then how would I go on about that?

TIA

Dark Shikari
9th October 2008, 20:47
zones?

Comatose
9th October 2008, 20:49
Can you do that with zones? I got the impression you can only tweak QP/bitrate:
--zones <zone0>/<zone1>/... Tweak the bitrate of some regions of the video
Each zone is of the form
<start frame>,<end frame>,<option>
where <option> is either
q=<integer> (force QP)
or b=<float> (bitrate multiplier)

Dark Shikari
9th October 2008, 21:08
I had thought you could also use zones to specify other options too...

Sagekilla
9th October 2008, 23:19
If zones can do that, that would be really cool.. Like enable high merange for a particularly fast moving sequence, or using more b-frames on a still scene..

Shinigami-Sama
9th October 2008, 23:29
I had thought you could also use zones to specify other options too...

-cracks a whip-
;P

also I thought it let you do that too weird...

Dark Shikari
9th October 2008, 23:34
It does work, it just only works with things that happen to be in encoder_reconfig, of which psy_rd isn't.

Sagekilla
10th October 2008, 00:37
So we could do something like this: --zones 180000,190000,crf=22?

What options are exposed for zones anyway?

Comatose
10th October 2008, 10:26
Boo. Would it be possible for me to modify it (is it a simple matter of adding them to encoder_reconfig for the capability to "reconfig" them? (wat)) or is it more complicated than that?

Sagekilla
10th October 2008, 15:27
It should be as simple as exposing the parameters in encoder_reconfig. If it's anything exposing new settings for AVCMatrices to pass off to x264, it shouldn't be very hard.