User User name Password  
   
Thursday 27.11.2025 / 14:36
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > avisynth script needs help please
Show topics
 
Forums
Forums
Avisynth script needs help please
  Jump to:
 
Posted Message
cos702003
Newbie
_
2. October 2005 @ 08:05 _ Link to this message    Send private message to this user   
I am trying to convert a PAL DVD to an NTSC DVD using Avisynth and CCE sp. I have successfully done this several times before, but when I reformatted my computer, I lost the script I was using and have been having difficulties since.

My current script is as follows:

Loadplugin ("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll")
mpeg2source ("E:\DVD\B DGIndex\test.d2v")
AssumeFPS(25, true)
Lanczos4Resize(720,480)

My problem is that when CCE finishes, I have a perfectly beautiful movie, only it's still in it's original 720 x 576 resolution?
When encoding in CCE, I selected "close all GOPS" and "dvd compliant" in the video options, otherwise leaving everything else alone.

Can someone steer me in the right direction as to what I'm doing wrong? Is it necessary to resize BEFORE the AssumeFPS command?

Thanks,
Cos
Advertisement
_
__
cos702003
Newbie
_
2. October 2005 @ 10:28 _ Link to this message    Send private message to this user   
Problem solved.
It helps to read the manual :/

Dvd-compliant is forcing the resolution to stay at 720 x 576 because I am not changing the framerate as well, in order to keep audio synced up. Had I used 29.976 as my desired framerate, CCE would have automatically resized the mpeg for me. The downside to this being a longer movie, and hence out of synch audio.

peace
Minion
AfterDawn Addict
_
2. October 2005 @ 13:11 _ Link to this message    Send private message to this user   
If you are Trying to encode a PAL DVD to NTSC then you Should have used this Script instead:

Loadplugin ("C:\Program Files\AviSynth 2.5\plugins\mpeg2dec.dll")
mpeg2source ("E:\DVD\B DGIndex\test.d2v")
AssumeFPS(23.976,true)
Lanczos4Resize(720,480)

Also you should have Loaded in your Audio file into your Script so AVISynth can Change it so it will sync up with your NTSC Video file because when you use the "AssumeFPS" command it changes the Length of your Video file so you have to also load in your Audio file so it can change the Length of it so it syncs up with the Video so maybe a Script like this would be better...

Loadplugin("C:\Program Files\AviSynth 2.5\plugins\mpeg2dec.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\AC3Source.dll")
mpeg2source("E:\DVD\B DGIndex\test.d2v")
AC3Source("E:\DVD\B DGIndex\Test.ac3")
AssumeFPS(23.976,true)
Lanczos4Resize(720,480)

Then encode it in CCE at 23.976fps with 2:3 or 3:2 Pulldown enabled and you will end up with a NTSC Video File and an audio file that are in Perfect sync...To use this Script you will have to have the AC3Source.dll Plugin on your System....

Cheers

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
cos702003
Newbie
_
2. October 2005 @ 15:56 _ Link to this message    Send private message to this user   
Thanks for your advice Minion, I really appreciate your help.

I read this method of yours in another thread here and tried it before with no success. For some reason, I could not get the ac3source.dll to work properly. Because of this, I have only been able to achieve acceptable results by resizing the PAL stream, leaving it at 25fps, then applying dgpulldown 25->29.976. Using this method, the audio doesn't need any editing because the video file remains the same length.
What are the disadvantages of using this method?

Is this plugin capable of handling multiple audio streams? I prefer to add the DTS track to my backups as well as the dolby 5.1 stream.
If so, what syntax would I use for my script? Just add each stream in separate command lines?

thanks again for your time.
Advertisement
_
__
 
_
Minion
AfterDawn Addict
_
2. October 2005 @ 16:13 _ Link to this message    Send private message to this user   
I don"t think you can Load DTS into your Script as DTS Is not a Very well supported Format...

If you want the AC3Source.dll to work properly you should Try installing this AC3 decoder as it works well with AVISynth:

AC3ACM Decompressor
http://fcchandler.home.comcast.net/AC3ACM/AC3ACM.zip

I don"t think you can Use seperate audio Streams because I don"t think CCE can read Multiple audio streams....

If you want to use the DGPulldown Method then you simply use a Basic Script like this:

Loadplugin ("C:\Program Files\AviSynth 2.5\plugins\mpeg2dec.dll")
mpeg2source ("E:\DVD\B DGIndex\test.d2v")
Lanczos4Resize(720,480)
And Load it into CCE SP and set the framerate to 25fps and make sure CCE doesn"t resize it back to 720+576 (Do not select the "DVD Compliant" Box) and encode it to Mpeg-2 and after words use DGPulldown on the File and everything should work perfectly....

Cheers


P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > avisynth script needs help please
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork