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.
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.