PDA

View Full Version : New to AVISynth and CCE


Thracks
25th June 2004, 17:29
Awright mates.. I'm using Cinemacraft CCE-SP 2.66 and AviSynth 2.55.

I'm converting a PAL SVCD set to a DVD-compatible NTSC stream. Now, I'm frameserving with AviSynth. Write a script, save it, load the resultant .AVS script into CCE 2.66 and make the appropriate bitrate calcs (Min: 0, Avg: 3250, Max: 9800) and changes to the 4:3 template (zigzag quant, dvd-compliance, manual iframe inserts, etc) and then hit encode.

Here's my AVS script:

DirectShowSource("\Original PAL Source\hp-cd1.m2v") #Get PAL Clip
Lanczos4Resize(720, 480) #Resize to DVD-compliant NTSC dimensions via lanczos sampling
ConvertFPS(23.976) #Convert from PAL 25 to NTSC 23.976


Now, here's my main problem. When I view the clip quickly with DVD2AVI, it says it's progessive, and PAL. Cool.

When I view the clip with bitrateviewer:


Num. of picture read: 65663
Stream type: MPEG-2 MP@ML VBR
Resolution: 480*576
Aspect ratio: 4:3 Generic
Framerate: 25.00
Nom. bitrate: 2490000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Frame
Quantscale: Nonlinear
Scan type: ZigZag
Frame type: Progressive

It says that it's progressive, which means I shouldn't need to deinterlace? But when I'm done encoding, I get the obvious result of material improperly deinterlaced. Is it not truly interlaced, but telecined or something? Ugh. Confused!

Also, am I doing the framerate conversion right? Or should I be using the AssumeFPS() argument?

And one last question: Using CCE + AVISynth, is there any way to encode only a segment of video?

//EDIT:

Poking around a bit, I've come up with this script:

LoadPlugin("mpeg2dec.dll")
LoadPlugin("SmoothDeinterlacer.dll")
mpeg2source("hp-cd1.d2v") #get clip
Lanczos4Resize(720,480)
ConvertFPS(23.976)

And I'd have to make an DVD2AVI project? When I do, it gives me an invalid frame size message.. Saying that the input is 900x56...

//FINAL EDIT:

Was my output fscked because I used "ConvertFPS" instead of AssumeFPS? Considering I'm pretty sure it's not pure interlace.

kingmob
25th June 2004, 18:21
I'm sorry, since i'm new myself I don't think i can help you. I do wonder however why you change the fps in your avisynth script. Why not let CCE do that job?

Thracks
25th June 2004, 18:28
Sometimes it helps to see yourself babble. It springs new ideas:

LoadPlugin("DGDECODE.dll")
mpeg2source("hp-cd1.d2v")
Lanczos4Resize(720,480)
AssumeFPS(23.976)

Worked :)


I absolutely cannot believe how fast CCE + AVISynth is. I came from 12 hour TMPGEnc projects, and these take 1/8th the time or better!

I'm so excited to learn more about AVISynth's capabilities, it's wonderful.