PDA

View Full Version : A Horrible Encoding Problem (Probobly because of a setting of dgmpegdec)??


SoulSmasher
27th January 2005, 18:19
hi everyone, first of all, i have been reading the forum over 2 years, but i couldn't find a solution to my problem, so i got my account and here i am:)
i used vidomi, vdubmod & dvd2avi as encoders before with divx pro 5.X codec.
now i'm using dgmpegdec, avisynth & vdub for encoding. i learned dgmpegdec 3 days ago and i stopped using dvd2avi :)
(i used to encode avi with only dvd2avi, and the avi file was horrible...)
whatever...
i'm writing what i'm doing while i encode one by one, so if there is a mistake you can warn me.

i get my vob files with smart ripper.
then i use dgmpegdec rc2 for d2v project file.
a have amd 2800+, 512ram so i choose 32 bit sse mmx as idct altogrythm
i use forced film in ntsc movies, and none in pal movies
i demux all tracks, and save my d2v project.
avs is generated automatically, by template.avs
my avs template code is below, it's very simple :)(i'm using avisynth 2.56)

loadplugin("C:\Documents and Settings\HellScream\Desktop\necessary encoders\dgmpgdec110rc2\DGDecode.dll")
mpeg2source("")

after this i open vdub and encode video
for ac3 dolby digital decoding, i use headac3he 2 pass float mode

then i make my avi file with avimux_GUI (i don't write delay in avimux, headac3he already fixes the delay)
for subtitles i firstly use vobsub to rip all subtitles, then subrip to make the .srt files.

i have a problem at video. when there is an action scene, the actionful(?!) parts become boxes(cubes), like not well encoded.(i couldn't translate it well, sorry :S)
how can i overcome this problem??? (i crop the avi file and encode as proggresive in divx settings)
do i have to do field deinterlace?, or just deinterlace? only deinterlacing makes the movie blur so much, so i encode as proggresive, and it looks good except the actionful(!) parts.
or do i need a avs or vdub plugin, or use a vdub filter?

or is there a better way of encoding with higher quality?
i'm so confused about this problem...
thanx
SoulSmasher...

p.s:im writing my whole system so you can suggest a better idct altogrythm (if there is)
amd athlon xp 2800+ (640 kb cache)
512mb 400 mhz ddr ram
winfast a360 tdh 256 mb ddr geforce fx 5700
40 gb 7200 rpm seagate hdd
sound blaster live! value sound card
msi k7n2 delta 6570 nforce 2 chipset mainboard
lg gsa 4160b dvd writer
lg gdr 8162b dvd rom
speaker, keyboard, mouse monitor blah blah blah...

neuron2
27th January 2005, 19:24
Blocking on high-action frames indicates that the encoded bitrate is too low. You can only mitigate that by deblocking with cpu=4 given to DGDecode().

SoulSmasher
27th January 2005, 19:38
Originally posted by neuron2
Blocking on high-action frames indicates that the encoded bitrate is too low. You can only mitigate that by deblocking with cpu=4 given to DGDecode().
ok i see i understood what do do, but i'm a bit bad ad avs scripts..
i dont know how to add your cpu=4 setting to my avs script.

can you give me a sample of that script, please?

(i take the bitrate at high quality and i think maybe a smoothing filter may help.)
thanks,
soulsmasher

neuron2
27th January 2005, 20:38
Don't you read the manuals? I mean, why should we bother to write them if you won't read them?

MPEG2Source("your.d2v",cpu=4)

SoulSmasher
29th January 2005, 16:00
sorry neuron2, im a newbia @ writing avs script.
i studied about scripts yesterday, nd i know how 2 make them now.
thanks again...

neuron2
29th January 2005, 17:42
Understood. Do post again if you have any more questions.

SoulSmasher
1st February 2005, 16:39
well, actually, my problem keeps going with cpu=4 setting.
i'm ripping a movie 1h 35m long @ 23,976 fps and 112kbps mp3 audio stream that fits to one cd.(movie takes 698 mbytes)
i use normal priority and one pass at divx 5.2.1 pro and i encode as proggressive.
a have dl ed a movie that is divx 5 and 1 h 39 m but it doesn't have boxes at actionful edges.(bitrate is nearly same to it)
i cannot understand, why does this happen.
do i need to use a smooth filter or something?
thanks...

neuron2
1st February 2005, 16:47
When you open the VOB in DGIndex (before any DivX encoding or anything), do you see blocks on the action scenes? Or do you see them only after DivX encoding? If the answer is that you see them in DGIndex, then I can try to help you. If it is only after DivX encoding, you need to take the issue to the DivX forum. The deblocking I mentioned will help only if the blocks are there in DGIndex before DivX encoding.

SoulSmasher
1st February 2005, 17:17
vob is perfect. no squares are in vob.
i'll search for the solution, if i cannot solve, ill write do divx forum.
thanks for the support, neuron2...