Strange blocking problem and x264 >> FORUM
Auto Forum

Auto Forum



SearchSearch   Users   Registration   Entrance
Today: 17.03.2026 - 06:13:46
Pages:  1  2  

Strange blocking problem and x264

MessageAuthor

I'm trying to encode the Japanese version of City Hunter - Bay City Wars and I am coming across a weird problem in the opening scene of the movie. Basically it starts with a pan into the City Hunter logo and then the logo flashes and dims again. Now the problem is that with the x264 encode I did this scene gets bad blocks, but oddly enough an XviD encode I did doesn't have this problem and it looks nice and smooth. Now I really want to do an encode of this with x264 because overall it has less noise around lines and generally less blocky, but this one scene just really stands out as being ugly in the encode. I've tried creating a zone to increase the bitrate to that scene alone but that usually results in even worse blocking than in this encode. I'm really at a loss of what to do and any help would be appreciated. Here is a shot of the same frame that shows the problem: x264: XviD: Here are clips of the scene as it really shows up as looking ugly during playback : , And here is an unprocessed m2v file of the scene if anyone wants it: Both encodes are done at ~1367kbit/sec to get a 450 meg file with a single aac audio stream. The command line from the megui-x264 encode is: E:\Program Files\x264\x264.exe --pass 2 --bitrate 1367 --stats ".stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 2 --b-pyramid --b-rdo --bime --weightb --filter 2,2 --subme 7 --trellis 2 --analyse all --8x8dct --me umh --merange 32 --sar 1:1 --cqm "jvt" --progress --no-psnr --nr 150 --output "I:\Encodes\City Hunter\Bay City Wars\thing.mkv" "I:\Encodes\City Hunter\Bay City Wars\thing.avs" The settings for the XviD encode was: B-VOPS: 2/1.0/1.0 No QPEL, No AQ, No GMC H.263 Quantization Motion Search Precision: 6 VHQ: 4 and VHQ for b-frames. Chroma Motion Trellis And the avisynth script I used was: mpeg2source("Bay City Wars.d2v",cpu=3) RemoveGrain(mode=5) FluxSmoothST(Spatial_Threshold=7) Crop(2,4,-2,0) LanczosResize(640,480) ColorMatrix()




M triple

register users


Statistics:
Messages: 2,120
Registration: 06.24.2002
27.01.25 - 18:40:35
Message # 1
RE: Strange blocking problem and x264

I forgot to mention that I am using Sharktooth's build r408.


-------------------------------------
1995 M3 (sold) 1997 M3/4 (sold) 2004 GT3 2008 E90 M3 on order -- week 23 build -- DCT and 19's!

ArcticFox

register users


Statistics:
Messages: 2,104
Registration: 12.13.2001
27.01.25 - 18:51:11
Message # 2
RE: Strange blocking problem and x264

Might also try AQ along with adding a custom zone for that scene, weight it 200% or so.




Farmer

register users


Statistics:
Messages: 93
Registration: 06.08.2003
27.01.25 - 18:57:48
Message # 3
RE: Strange blocking problem and x264

use newer builds.




Echo

register users


Statistics:
Messages: 60
Registration: 06.26.2003
27.01.25 - 19:09:00
Message # 4
RE: Strange blocking problem and x264

sounds like the typical fast-pskip problem try --no-fast-pskip




e36m3_858

register users


Statistics:
Messages: 17
Registration: 08.27.2003
27.01.25 - 19:18:34
Message # 5
RE: Strange blocking problem and x264

he already has it in the commandline




x2nervisx

register users


Statistics:
Messages: 2,051
Registration: 09.29.2003
27.01.25 - 19:21:55
Message # 6
RE: Strange blocking problem and x264

I don't think newer builds will help him much. My suggestion is to remove that FluxSmooth. I have the same kind of problem when using any kind of temporal smoothing.




makken

register users


Statistics:
Messages: 20
Registration: 08.26.2001
27.01.25 - 19:31:39
Message # 7
RE: Strange blocking problem and x264

try a build without the experimental stuff as sharktooth said (and make sure to use --no-fast-pskip)




Emre

register users


Statistics:
Messages: 587
Registration: 10.28.2003
27.01.25 - 19:43:08
Message # 8
RE: Strange blocking problem and x264

files.x264.nl? try x264.nl...




Theodore

register users


Statistics:
Messages: 5,215
Registration: 05.30.2003
27.01.25 - 19:49:27
Message # 9
RE: Strange blocking problem and x264

Well I believe I isolated the problem. I downloaded the latest build and used the exact same options and it had the same problems. I even tested with a constant quant 2 encode to eliminate it being a bitrate problem. Commenting out fluxsmooth had no effect. The quant matrix didn't cause it because the blocking appeared when I selected none. The only thing that eliminated the blocking was turning the noise reduction down to 0. I've used it before on other encodes with no problem and with the exact same settings, so I don't know what it is that caused it this time with this source. Very odd.




Antigone

register users


Statistics:
Messages: 4
Registration: 12.13.2003
27.01.25 - 19:58:49
Message # 10
RE: Strange blocking problem and x264
Read rate dropped too low : Previous topicNext topic: Recommended EZ Drummer2 settings for reggae?
Pages:  1  2  

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


Participants