PDA

View Full Version : Having problems with a hybrid clip


Cruzz
9th February 2004, 07:48
I'm trying to encode a japanese pop video of some kind (I uploaded a ~30 second sample here (http://koti.mbnet.fi/~cruzz/sample.avi) (3.25MB) but it's proving rather difficult. The clip is slightly problematic because it has a drawn background overlayed with a bunch of real actors. No matter what I try, the bright red in their clothes seems to bleed rather badly and the video seems to get blocky every time the bitrate is under 1500.

I have a decently high bitrate mpeg1 stream as my source. The video quality is pretty good, though it does have it's fair share of problems with the red clothes.

(Oh and don't ask about why I want to encode this :p )

Anyway, the source file is:
720x480
29.970fps
5828 frames
3001Kbps average bitrate

So far I've tried a couple of settings, this thing produced the best results up to this point:

MPEGSource("C:\Encode\Mini_Moni.mpg", 5827).LanczosResize(600,400)
MipSmooth(preset="MovieLQ", scenechange=8)
WarpSharp()

I'm using the MovieLQ preset because xvid, for some reason, tends to block out at certain spots in background with lighter smoothing. Anyway, the effect ain't *that* bad, though I'd still like to get away with slightly less smoothing.

As for the compression settings:

Using Koepi's XVID-RC2 build
Two-pass encode
Unrestricted
Quantization: MPEG-Custom, HVS-Best
Global Motion Compensation
B-VOPs
Max consecutive BVOPs 1
Quantizier ratio 1.50
Quantizier offset 0.50
Packed Bitstream
Closed GOV
(Don't really know why I used packed bitstream, max BVOPs is 1 because of pb and me wanting to keep the file compatible with ffdshow)

Chroma Optimizer
Motion Search Precision 6
VHQ 4
Use Chroma Motion
Maximum i-frame interval 300
Quantization:
On all:
Min: 2
Max: 31
Trellis quantization

Target size was 29000kB for the video last time around. The file these settings spat out is decent enough, but looks slightly over-filtered due to the excessive smoothing and still exhibits a decent amount of the "live wall" effect on the background. Plus it's still a bit blocky at places.

What am I doing wrong? Is this clip really so awful for MPEG4 or am I making some really stupid error constantly? I would've thought that I could get away with less than half the video bitrate by using xvid, what with the lower resolution and everything.