Log in

View Full Version : x264 makes steps out of straight lines


ToS_Maverick
19th October 2006, 18:48
i'm having a little coding-issue here.

after coding 24 season 4, i realised that some lines got steppy, as if a bad resizing filter was used. just look for your self.

original
http://img170.imageshack.us/img170/4427/144origpp4.th.jpg (http://img170.imageshack.us/my.php?image=144origpp4.jpg)

coded image
http://img170.imageshack.us/img170/4162/145codeddv2.th.jpg (http://img170.imageshack.us/my.php?image=145codeddv2.jpg)

source is the pal dvd version.

script used:
DGDecode_mpeg2source("E20.d2v",info=3)
ColorMatrix(hints=true)
crop( 8, 4, -4, -4)
lanczosresize(640,352)

commandline:
x264.exe --crf 20 --level 3 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --filter -2,-1 --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-maxrate 10000 --me umh --threads 2 --thread-input --progress --no-psnr

other things i found out:
- in 1024x576 no problem with the line
- in 768x432 there are slight steps
- 640x352 you see the result above
- same problem with xvid

foxyshadis
19th October 2006, 19:22
This is just a guess, but do you have deinterlacing enabled on your decoder (or playback software)? Those kind of lines are what you'd normally see with dumb-bobbed video. The higher the resolution, the less obvious they are.

Inventive Software
19th October 2006, 19:27
Might sound stupid, but I can't see anything wrong with that.

I still don't understand why people insist on resizing... never needed to myself.

ToS_Maverick
19th October 2006, 19:36
This is just a guess, but do you have deinterlacing enabled on your decoder (or playback software)? Those kind of lines are what you'd normally see with dumb-bobbed video. The higher the resolution, the less obvious they are.

OMG, your right

i enabled deinterlacing in ffdshow some time ago, because i watched interlaced content... i completely forgot about it!

Might sound stupid, but I can't see anything wrong with that.

I still don't understand why people insist on resizing... never needed to myself.

i need to resize because
- i have to sqeeze a season to 2 dvds (8,6 gig)
- the resolution of the source is low, although it's a dvd (720x576). even in 576x320 you don't see a difference.


well, problem fixed, the thread might be closed now :rolleyes: