Quote:
Originally Posted by Katie Boundary
Interesting. Can I just entirely skip the part where it creates the script for me, and use my own script?
|
Pretty much so...
This is a typical script which AVStoDVD creates for a PAL MPEG2 source in an MKV container when you have specified NTSC output:
Quote:
Import("E:\Programme\AVStoDVD\Lib\A2DSource.avsi")
Video = A2DVideoSource("I:\test.mkv", CacheFolder="I:", VFR=false, FrameRate=25)
Audio = A2DAudioSource("I:\test.mkv", CacheFolder="I:")
Video = Video.ConvertToYV12()
Video = Video.Spline36Resize(720,480)
#NTSCSlowDown: using AssumeFPS() to downsize FPS to 23.976 and then DGPulldown to upsize to 29.97
Audio = Audio.DelayAudio(-0.005)
AudioDub(Video, Audio)
AssumeFPS("ntsc_film", sync_audio=true).ResampleAudio(48000)
|
(Of course you can also use ffms2 as your source filter)
Replacing this whole script with your own script is no problem, but you really have to know what you are doing. I found that the following method is much safer and easier:
Quote:
Import("E:\Programme\AVStoDVD\Lib\A2DSource.avsi")
Video = A2DVideoSource("I:\test.mkv", CacheFolder="I:", VFR=false, FrameRate=25)
Audio = A2DAudioSource("I:\test.mkv", CacheFolder="I:")
Video = Video.ConvertToYV12()
Last = Video
My_AVS_Filter1()
My_AVS_Filter2()
My_AVS_Filter3()
Video = Last
Video = Video.Spline36Resize(720,480)
#NTSCSlowDown: using AssumeFPS() to downsize FPS to 23.976 and then DGPulldown to upsize to 29.97
Audio = Audio.DelayAudio(-0.005)
AudioDub(Video, Audio)
AssumeFPS("ntsc_film", sync_audio=true).ResampleAudio(48000)
|
You can insert all of your AVS commands right after the "ConvertToYV12()" command before the resize command, but of course it is no problem to insert your commands after the resizer, too.
Well, you won't know if this method is for you until you tried it...
Cheers
manolito
//EDIT//
Oops, I totally forgot to mention that AVStoDVD also supports AVS scripts as a source. This will disable most of the internal script creation, but again the user needs to know what she is doing...