PDA

View Full Version : headache, always bad encoded result


uko
16th August 2005, 13:53
Hallo,

I have done a lot of movies with CCE and always was satisfied with quality, but always encoding PAL movies. Now I trying to encode 5DVD collection "Bruce Lee" it's NTSC R1 and I can't get good result.
I tryed to find a helpful scripts on doom, but wasn't helpfull or did not work.
I have some sripts(used before) and tryed to mixed it & encode m2v file.

the orginal source is
NTSC Interlaced 29.970fps
720x480 4:3
chroma:420
Zig-Zag

I mixed NTSC > PAL convertor & unblending tool
I used separetly NTSC 2 PAL & unblend script before, for ex. unblend in CASINO or CONAN and NTSC2PAL in HITCHHIKER'S GUIDE 2the GALAXY and get perfect result.

So i try to use this mixed one on Bruce Lee :

AVISource("D:\Brucelee\d1\d1_DVD2AVI_d2v_vfapi.avi").NTSC2PAL()
LoadPlugin("C:\Install\DVD\NEW\MPEGDecoder_YV12\MPEGDecoder.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
ConvertToYUY2()
Telecide()

function NTSC2PAL(clip c) {
# Fairly good NTSC->PAL conversion. Would be better with Smart Bob. :-)
Assert(c.height == 480, "NTSC2PAL: input clip must have 480 scan lines")
Bob(c, height=576)
ChangeFPS(50)
SeparateFields().SelectEvery(4,0,3)
return Weave()
}


I get very BAD result. Picture is PAL 720x576 25fps but has "chameleon walk" effect. It means the frames goes like 1,2,3,4,3,4,5,6,7....and sometimes it looks like blended.

So I try to encode it in 2 steps:

1. unblend the orginal source
2. than convert to PAL

1. step did good unblended result, but 2.step (30>25fps) created back blended fileds

I tryed it once more, but in reverse step, but same unsatisfied result.

second (2 step) metode was without "chameleon walk effect"

I have headache I don't know what to do :devil:

Pleeease anybody help me.

Thanks, Thanks

Boulder
17th August 2005, 06:41
You're mixing things up badly, that's why you don't get a good result.

Download the latest DGIndex package by Donald Graft, see the DVD2AVI/DGIndex forum.

Put DGDecode.dll in your Avisynth plugins folder, by default that's C:\Program Files\Avisynth 2.5\plugins. Use DGIndex to create the d2v project file out of the VOBs. Then use this script:

MPEG2Source("path\clip.d2v")
Telecide(order=1,guide=1)
Decimate()
LanczosResize(720,576)
AssumeFPS(25)

Use the Decomb tutorial included in the Decomb package to check the field order setting.

Another way to try for the NTSC->PAL conversion is to check 'forced film' in DGIndex when saving the project and then leaving the Telecide and Decimate lines out of the script.

You'll need to adjust the audio accordingly as well.

uko
17th August 2005, 12:21
Hallo Boulder,

thanx for your advice, but I have problem.

I followed your instructions. I downloaded DGIndex v 1.4.0., put dgdecode.dll in to plugins... Differnet is step "create d2v project out of the VOBS", cause I have m2v file demuxed from Decrypter(no VOBS)
I think this is not a problem, so I saved D2V file.
I Wrote your script like:

MPEG2Source("D:\Brucelee\d3\DG.d2v")
Telecide(order=1,guide=1)
Decimate()
LanczosResize(720,576)
AssumeFPS(25)

Problem is that CCE occured an script error : "Telecine does not have a named argument "order", Line 2

So I tried your another way :
I opened the file source.m2v in DGIndex, than I choosed "Save Project" in Menu\File
,but couldn't see "check 'forced film'". It just asked me the name of d2v file before saving.
What I am doing wrong ?

Thanx

Boulder
17th August 2005, 12:51
Download and install the latest Decomb package, v5.2.1 I think.

Yes, you can use the m2v file as well although you're always much better off using the original VOBs in DGIndex. That way you'll avoid a/v sync problems.

The forced film option is in Video->Field Operation. Check (enable, that is) forced film and save the project file. Don't forget to disable the option when you have a PAL source.

uko
17th August 2005, 15:20
Hello Boulder

I'm in blind alley. Now CCE loaded script but 2 problems apperas.
1. Original m2v source has duration : 1:30:32
With first metod CCE shows duration : 1:09:32
With 2nd script without Telecide, Decimate : 1:26:55

2nd problem is : If I choosed Encode in CCE, both scripts crashed with error:
"Couldn't find appopopriate video codec for 'YV12' "

What should I install more to have script working.

Now I have avisynth 2.5.5 with plugins:
decomb521.dll
decomb.dll
DGDecode.dll
DirectShowSource.sll
FDecimate.dll
MPEG2DEC.dll
TCPDeliver.dll

Thanx for you time

Boulder
17th August 2005, 15:29
Delete decomb.dll and mpeg2dec.dll from the plugins directory. For CCE, you need ConverttoYUY2() at the end of the script.

Open the scripts in VirtualDub and report the frame rate EDIT: without AssumeFPS(25) in the script.

uko
17th August 2005, 15:44
OK scripts working in CCE
I installed VirtualDub and opened script.avs & see two pictures in windows, what you mean "report the frame rate"?

trolltuning
17th August 2005, 15:58
I believe he means:
1)Open it in virtualdubmod
2)Select file
3)Select file information
4)Look at the number before fps in the middle of the top line and post it.

uko
17th August 2005, 16:07
Ok,

number is 23.976 fps (script is without asumefp(25))

Boulder
17th August 2005, 16:26
With 2nd script without Telecide, Decimate : 1:26:55

Did you use the forced film thing with this one when saving the project?

uko
17th August 2005, 16:41
ok I'm little bit confused

Now I checked it
summing-up

I have 2x scripts & 2x d2v files

1th script : [DGIndex without 'forced film']

MPEG2Source("D:\Brucelee\d3\A-noForce.d2v")
Telecide(order=1,guide=1)
Decimate()
LanczosResize(720,576)
AssumeFPS(25)
ConverttoYUY2()

info : 720x576 25.000 fps time: 1:09:37

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

2nd script : [DGIndex with 'forced film']

MPEG2Source("D:\Brucelee\d3\A.d2v")
LanczosResize(720,576)
ConverttoYUY2()

info : 720x576 23.976 fps time: 1:30:38

Boulder
17th August 2005, 16:53
Try encoding with the second one, just add AssumeFPS(25) to the script. See if the motion's smooth (I'm quite sure it is). When the video's good to go, you'll need to process the audio to avoid a/v sync loss.

Another option is to encode with the second script without AssumeFPS(25) and then use DGPulldown to do a 23.976->25fps pulldown. This way you can use the original audio track without re-encoding. The video will have a very slight jitter but you can check it if it's acceptable to you.

uko
17th August 2005, 17:10
Thanx a lot Boulder
VirtualDub is great program, now I don't have to use CCE for checking quality of picture, before encoding :)

BTW
Raikkonen Rulez:))