Gideon25
18th March 2004, 01:40
I had a LOT of PAL avi episodes (25fps) to convert to (23.976 fps) NTSC and have them ready to BURN to DVD and I KNEW there was a way to get it into basically a one click process or at worst a two part process with very little or no interaction once the process starts. Who wants to sit there and WAIT to edit the avisynth file MANUALLY? I will explain a way to do this using D2sRoba. I ALSO figured out a way with the help of a few folks here (thanks for the help!)to streamline a D2SRoba avi PAL-->NTSC BATCH process :) BACKUP ALL FILES YOU MODIFY!!!
First for the NON batch way:
USE D2sRoba- Its great and its what I used mainly because it always runs pulldown for you.
1. Select avi to SVCD in d2s OR avi to dvd. If you select the avi2dvd you will have to run besweet to change the audio from Pal 25fps to ntsc 23.976 and multiplex the files if you want an mpg. The quickest way is to set up a besweet batch file. EITHER WAY you can choose whatever bitrate and whatever resolution you want (I will show you how).
If you choose avi2svcd then you can use d2Sroba to encode the audio(choose encode audio after video) AND convert the audio from 25fps to 23.976 all at once! This makes it a ONE CLICK pal-->Ntsc process!
2. Create an .avs file and lets call it pal2ntsc.avs and place it in your dvd2svcd folder. My folder is "D:\Program Files\DVD2SVCD\"
Open it up and put this in it:
AssumeFPS(23.976)
then save the file.
3. Look in your dvd2svcd folder and EDIT the AVISYNTH.INI file (I use bicubic resize but I suppose you could use whatever)
and change the [AVISYNTH_BicubicResize] to read:
[AVISYNTH_BicubicResize]
0=BicubicResize(480,480,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=Import(!Pal2ntsc.avs)
^b_value=0.0
^c_value=0.6
!Pal2ntsc.avs=D:\Program Files\DVD2SVCD\pal2ntsc.avs
Save the file. Add the import line just like I have and make sure the path is correct to your pal2ntsc.avs file.In dvd2svcd under the "Frameserver" tab choose Bicubic resize.
Now you can choose bicubic resize and it WILL ALWAYS change the video down to 23.976- NO MORE having to edit the file each time! see the 480,480 above? Change that to whatever ntsc size you want (720x480,etc.). So it does not matter that we chose avi to svcd we can do the same as the the dvd resolutions.
4. AUDIO. Make sure you use avi2svcd and tell D2Sroba to "encode audio after video." Go to your d2Sroba folder and find the "BeSweetLater.bat" file. Edit it and look for the ":save" line at the bottom like so:
:save
if '%output%==' goto exit
echo [BeSweet]> %output%.ini
echo args=%args%>> %output%.ini
echo !bitrate=%bitrate%>> %output%.ini
:exit
Change it to THIS:
:save
set args=%args% -ota( -r 25000 23976 )
if '%output%==' goto exit
echo [BeSweet]> %output%.ini
echo args=%args%>> %output%.ini
echo !bitrate=%bitrate%>> %output%.ini
:exit
Now THAT takes care of the audio conversion from 25fps to 23.976. Save the batch file! If you chose avi2svcd (which you
should )then you NOW, after these file changes, have a ONE CLICK avi pal-->ntsc conversion. You should finish with an ntsc mpg in-sync and ready to burn to dvd! Of course I was using 4:3 ratio files and I did not do any fancy border adding stuff but others here can probably explain how to do that!
In my next post here I will explain how to set up batch files for converting multiple Pal avi to ntsc mpg with D2sRoba. Everything up top has to be done but you just have to set up some .bat files.
First for the NON batch way:
USE D2sRoba- Its great and its what I used mainly because it always runs pulldown for you.
1. Select avi to SVCD in d2s OR avi to dvd. If you select the avi2dvd you will have to run besweet to change the audio from Pal 25fps to ntsc 23.976 and multiplex the files if you want an mpg. The quickest way is to set up a besweet batch file. EITHER WAY you can choose whatever bitrate and whatever resolution you want (I will show you how).
If you choose avi2svcd then you can use d2Sroba to encode the audio(choose encode audio after video) AND convert the audio from 25fps to 23.976 all at once! This makes it a ONE CLICK pal-->Ntsc process!
2. Create an .avs file and lets call it pal2ntsc.avs and place it in your dvd2svcd folder. My folder is "D:\Program Files\DVD2SVCD\"
Open it up and put this in it:
AssumeFPS(23.976)
then save the file.
3. Look in your dvd2svcd folder and EDIT the AVISYNTH.INI file (I use bicubic resize but I suppose you could use whatever)
and change the [AVISYNTH_BicubicResize] to read:
[AVISYNTH_BicubicResize]
0=BicubicResize(480,480,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=Import(!Pal2ntsc.avs)
^b_value=0.0
^c_value=0.6
!Pal2ntsc.avs=D:\Program Files\DVD2SVCD\pal2ntsc.avs
Save the file. Add the import line just like I have and make sure the path is correct to your pal2ntsc.avs file.In dvd2svcd under the "Frameserver" tab choose Bicubic resize.
Now you can choose bicubic resize and it WILL ALWAYS change the video down to 23.976- NO MORE having to edit the file each time! see the 480,480 above? Change that to whatever ntsc size you want (720x480,etc.). So it does not matter that we chose avi to svcd we can do the same as the the dvd resolutions.
4. AUDIO. Make sure you use avi2svcd and tell D2Sroba to "encode audio after video." Go to your d2Sroba folder and find the "BeSweetLater.bat" file. Edit it and look for the ":save" line at the bottom like so:
:save
if '%output%==' goto exit
echo [BeSweet]> %output%.ini
echo args=%args%>> %output%.ini
echo !bitrate=%bitrate%>> %output%.ini
:exit
Change it to THIS:
:save
set args=%args% -ota( -r 25000 23976 )
if '%output%==' goto exit
echo [BeSweet]> %output%.ini
echo args=%args%>> %output%.ini
echo !bitrate=%bitrate%>> %output%.ini
:exit
Now THAT takes care of the audio conversion from 25fps to 23.976. Save the batch file! If you chose avi2svcd (which you
should )then you NOW, after these file changes, have a ONE CLICK avi pal-->ntsc conversion. You should finish with an ntsc mpg in-sync and ready to burn to dvd! Of course I was using 4:3 ratio files and I did not do any fancy border adding stuff but others here can probably explain how to do that!
In my next post here I will explain how to set up batch files for converting multiple Pal avi to ntsc mpg with D2sRoba. Everything up top has to be done but you just have to set up some .bat files.