x264 zones parameter >>
Forum
  Search   Users   Registration   Entrance
Today: 12.08.2025 - 23:29:22
Pages:  1  

x264 zones parameter

Advertising


MessageAuthor

Is the "zones" parameter ever working? I've tried to do an encode with both vbv-enabled (for bluray, so maxrate 39 Mbps and bufsize 30 Mbps) and without vbv. In both cases the encoder seems to ignore the values. Just as a test, I've tried Code:

---------------------
scott Freedman 94 325is tons of miles in Grun frosch (froggy green) :krakrani:

scott_freedman

main-users




Statistics:
Messages: 503
Registration: 04.29.2003
27.02.24 - 06:47:34
Message # 1
RE: x264 zones parameter

Zones can't change ratecontrol modes in the middle of an encode; you're using bitrate mode, so you can't switch to CRF for a section of the encode. You can apply a bitrate weight though, I think (I don't remember the syntax for this though).

---------------------

shled

main-users




Statistics:
Messages: 17
Registration: 03.04.2003
27.02.24 - 06:58:33
Message # 2
RE: x264 zones parameter

I've tried "Q" and "B" too (which sets respectively a constant quantizer or a bitrate multiplier). for example --zones 307,376,b=0.1 In all cases, the result is almost the same. It seems that my attempt to force the bitrate/quantizer is ignored during the encode process.

---------------------
A good friend will bail you out of jail... But your BEST friend will be the one sitting next to you, saying; "That was freaking awesome!"

Bart C

main-users




Statistics:
Messages: 47
Registration: 04.13.2002
27.02.24 - 07:04:40
Message # 3
RE: x264 zones parameter

Did you have the zones specified in the 1st pass? I did some quick (non BD) 1pass CRF tests and it works ok

---------------------

derek

main-users




Statistics:
Messages: 44
Registration: 02.26.2001
27.02.24 - 07:12:41
Message # 4
RE: x264 zones parameter

Yes, I've setup the zone (the same, copy/pasted) on both passes. Edit: I'm investigating, because sometimes it appears to abide the forced quantizer. Edit2: Ok, it seems to work. VBV take precedence over quantizer/bitrate override so it doesn't lower q/b at adjacent GOPs (to conform to both VBV and override) but it simply ignore it. Also (and this was my mistake) when using seek+frames parameters (to start the encoder at a different place) the frames specified in the zone doesn't correspond anymore (at least it seems to me). Is this confirmed?

---------------------

turbojunky

main-users




Statistics:
Messages: 228
Registration: 11.21.2002
27.02.24 - 07:23:34
Message # 5
RE: x264 zones parameter

I did some more tests with VBV and BD parameters 2pass and it seems to work ok But I didn't test the results of --seek or --frames . But wouldn't it make sense that the frame reference numbers change? Effectively it becomes a different video as if you had cut it with something else (e.g. Trim() in avisynth) , so shouldn't the zone numbers change ?

---------------------

Boomerbimmer

main-users




Statistics:
Messages: 332
Registration: 03.27.2001
27.02.24 - 07:35:06
Message # 6
RE: x264 zones parameter

I've tried to change QP of frames 377/378 due to high distorted output (QP>25, it starts a new scene so it's very visible). Changing only those 2 frames produces no visible alteration (probably due to the fact that the previous scene is indeed very hard so probably the bitrate was maximized to vbv). Lowering 353 to 376 (previous GOP) with b=0.7 and forcing 377/378 with QP=9 worked as expected. Regarding the seek/frames and zones... I think it should work (imho) in a small different way. Let me explain: if I want to trim (and nothing more) I can do that via AviSynth or other ways around (for example a different export). Seek+frames should also be very useful for debug purposes. For example to test zones very far from the beginning of a movie. If I want to "zone" frame 100.000 and see the results, I simply can't encode the whole film (hours+hours of encode and for more tests the hours increase even more) so it can be very useful to start at frame 98.000 and then encode 3.000 frames to see the results. This allows to keep the zones/qpfile intact (as a reference, it's the whole film). Basically the encoder should consider that the starting frame is not 0 but 98.000 and then should apply the zones/qpfile accordingly... at least I think this would be more useful. In this way it can be simply used in both ways (simple trim and debug).

---------------------
Patrick Spikes Guinness, not just for breakfast anymore

tigruppe

main-users




Statistics:
Messages: 48
Registration: 09.30.2002
27.02.24 - 07:42:11
Message # 7
RE: x264 zones parameter

I wrote a tool to help with seek and zones/qpfile:

---------------------

snk328is

main-users




Statistics:
Messages: 4,443
Registration: 07.17.2002
27.02.24 - 07:52:01
Message # 8
RE: x264 zones parameter

Uh, thanks cretindesalpes! I'll put a look at it! Thanks also to all the contributors of this thread

---------------------
http://www.youtube.com/watch?v=ni6ZR18MXQ4 SOLD,Topaz SC323ci SOLD http://forums.bimmerforums.com/forum....php?t=1226604 ML320, AW M3

e popa

main-users




Statistics:
Messages: 635
Registration: 03.19.2003
27.02.24 - 07:55:37
Message # 9
RE: x264 zones parameter
Command line to process Quicktime mov efficiently : Previous topicNext topic: recognition of interlaced frames
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants