View Full Version : new user prob. with avs files for Tempgen
carrotboat
7th September 2003, 12:24
Hi,
I am converting an ntsc svcd to pal svcd. I need to open the script
DirectShowSource("C:\Sop_Conversion\AVSEQ01.M2V")
ConvertFPS(25)
LanczosResize(352,288)
ConvertToRGB
but tempgenc 2.511.51.160 crashes with this avs as a video source. The avs reader is the one in the dvd2svcd bundle. I have followed the instructions on its installation readme including placing its registry entry.
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\mpeg2dec.dll")
mpeg2source("C:\Sop_Conversion\AVSEQ01.M2V")
ConvertFPS(25)
LanczosResize(352,288)
ConvertToRGB
also crashes tempgen. I think I have avisynth 2.08 as that is what I told dvd2svcd to install.
Any ideas?
Wilbert
7th September 2003, 12:30
Make a script containing:
version()
and open it in TMPGEnc. What version does it say?
If the above works, try:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\mpeg2dec.dll")
mpeg2source("C:\Sop_Conversion\AVSEQ01.M2V")
ConvertFPS(25)
LanczosResize(352,288)
ConvertToRGB24()
Didée
7th September 2003, 13:46
>> DirectShowSource("C:\Sop_Conversion\AVSEQ01.M2V")
>> ConvertFPS(25)
Can you playback that .M2V file in a directshow player at all?
If no, DSsource cannot succeed.
If yes, you still need
DirectShowSource("C:\Sop_Conversion\AVSEQ01.M2V",fps=25)
>> mpeg2source("C:\Sop_Conversion\AVSEQ01.M2V")
Erhm, open an .M2V file by mpeg2dec *directly* ? Don't we always need a .D2V project file to use mpeg2dec?
However, I never work with plain mpeg2 streams, only with VOBs, so maybe I'm mistaken in this aspect.
- Didée
Wilbert
7th September 2003, 14:35
Yes, Didee is right. Thanks for the correction!
carrotboat
11th September 2003, 00:15
Thanks for your help. Could you please tell me more about this d2v project requirement. I haven't done that.
DDogg
11th September 2003, 01:12
Obtain dvd2avi version 1.76 in the doom9 download section or look in your dvd2svcd\dvd2avi directory. Open and load your M2V file. Set field operation to "none". Then Save project file. This will create yourname.d2v file.
carrotboat
15th September 2003, 04:39
I have made a d2v file as described and placed it in the same directory as my m2v file and ran
#DirectShowSource("C:\Sop_Conversion\AVSEQ01.M2V")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\mpeg2dec.dll")
mpeg2source("C:\Sop_Conversion\AVSEQ01.M2V")
ConvertFPS(25)
LanczosResize(352,288)
ConvertToRGB
#version()
But TMPGenc displays
MPEG2Source coudn't open the file
(C:\Sop_Convesion\Sop_Conv.avs line5)
and that is where I am at.
DirectShowSource("C:\Sop_Conversion\AVSEQ01.M2V",fps=25)
does not work.
version() works fine displaying the version info. Windows media player won't play an m2v file so is DirectShowSource not applicable? PowerDVD will play it.
sh0dan
15th September 2003, 08:10
With mpeg2source you need to open the D2V file, not the m2v file.
You are right about DSS - if WMP cannot play the file, DSS cannot open it either.
carrotboat
16th September 2003, 00:14
Thanks everybody. I'm almost there! I've got it encoding, just got to get the interlacing right. I've got jagged edges on moving objects. I think a bit of experimentation with the script should fix that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.