Difference between revisions of "Anri-chan/Source/statid.bat"

From SDA Knowledge Base

Jump to: navigation, search
(quote safe)
Line 3: Line 3:
 
echo This batch will create a preview version of your Station ID called statid_preview.avi on your desktop.
 
echo This batch will create a preview version of your Station ID called statid_preview.avi on your desktop.
 
echo
 
echo
 
cd "%HOMEPATH%\Desktop"
 
  
 
set statid1=
 
set statid1=
Line 16: Line 14:
 
echo import("%PROGRAMFILES%\anrichan\nate.avs") >> statid_preview.avs
 
echo import("%PROGRAMFILES%\anrichan\nate.avs") >> statid_preview.avs
 
echo run=blankclip(fps=29.97).audiodub(wavsource("%PROGRAMFILES%\anrichan\silence_stereo_48000.wav")) >> statid_preview.avs
 
echo run=blankclip(fps=29.97).audiodub(wavsource("%PROGRAMFILES%\anrichan\silence_stereo_48000.wav")) >> statid_preview.avs
echo nate_statid_d1(run,"%statid1%","%statid2%","%statid3%").Lanczos4Resize(640,480).converttoyv12 >> "statid_preview.avs"
+
echo nate_statid_d1(run,"""%statid1%""","""%statid2%""","""%statid3%""").Lanczos4Resize(640,480).converttoyv12 >> "statid_preview.avs"
  
 
"%PROGRAMFILES%\anrichan\xvid_encraw.exe" -i "statid_preview.avs" -bitrate 512 -pass1 "statid_preview.stats"
 
"%PROGRAMFILES%\anrichan\xvid_encraw.exe" -i "statid_preview.avs" -bitrate 512 -pass1 "statid_preview.stats"
Line 27: Line 25:
 
set statid3=
 
set statid3=
  
@echo on</nowiki></pre>
+
echo Finished! You will find statid_preview.avi on your Desktop. You can view this video in any player that supports DivX/Xvid.
 +
pause
 +
@echo on
 +
</nowiki></pre>

Revision as of 18:34, 26 July 2007

@echo off

echo This batch will create a preview version of your Station ID called statid_preview.avi on your desktop.
echo

set statid1=
set statid2=
set statid3=
set /P statid1=Station ID Line 1 (normally runner name): 
set /P statid2=Station ID Line 2 (normally game name, run type and time): 
set /P statid3=Station ID Line 3 (normally game name, run type and time continued if necessary): 

echo global pal=false > statid_preview.avs
echo import("%PROGRAMFILES%\anrichan\nate.avs") >> statid_preview.avs
echo run=blankclip(fps=29.97).audiodub(wavsource("%PROGRAMFILES%\anrichan\silence_stereo_48000.wav")) >> statid_preview.avs
echo nate_statid_d1(run,"""%statid1%""","""%statid2%""","""%statid3%""").Lanczos4Resize(640,480).converttoyv12 >> "statid_preview.avs"

"%PROGRAMFILES%\anrichan\xvid_encraw.exe" -i "statid_preview.avs" -bitrate 512 -pass1 "statid_preview.stats"
"%PROGRAMFILES%\anrichan\xvid_encraw.exe" -i "statid_preview.avs" -bitrate 512 -pass2 "statid_preview.stats" -avi "statid_preview.avi"
del statid_preview.stats
del statid_preview.avs

set statid1=
set statid2=
set statid3=

echo Finished! You will find statid_preview.avi on your Desktop. You can view this video in any player that supports DivX/Xvid.
pause
@echo on
Personal tools