View Full Version : help with scenchap
tandi
21st February 2009, 21:47
hi, i want to make scene in scenarist , but all i got was manual, it will take long time to create like more 20 scenes and not accurate, and i read in here scenchap can do it, but don't know how to use it, really need help here
i just want to make scenes automatic not like in scenarist have to do it manual one scene by one scene
PhillipWyllie
23rd February 2009, 22:35
Scenarist now imports chapters from a .csv file. The format being:
PAL
hh:mm:ss;ff,chaptername,
NTSC
hh:mm:ss:ff,chaptername,
You can miss out chaptername.
tandi
24th February 2009, 16:23
how can i create it ? or what should i use ?
PhillipWyllie
24th February 2009, 17:04
Create it in notepad and save as .csv. I posted an msdos batch file a while ago that takes the chapter-file saved by cce and turns it into a Scenrarist compatable chapter_file.
tandi
24th February 2009, 20:32
sorry, being stupid here, as i am very new in scenarist
so i have to make it manual in notepad ?
if i have 20 scenes i have to define in notepad one by one? and save as .csv ?
00:05:00:00,chapter1
00:10:00:00,chapter2
00:15:00:00,chapter3
.....
....
01:30:00:00,chapter20
and for your batch, how can i use it ?, i am really blind in this kind of line programming
:BEGIN
@echo off
TITLE CCE to Scenarist chapter converter
if "%~1"=="" goto NEEDFILE
echo This will turn CCE chapter output files to Scenarist's chapter format
echo.
pause
echo.
:START
if /i "%~1"=="" goto END
echo -----------------------------------------------------------------------------
echo Using: %~nx1
echo.
for /F "usebackq tokens=2* delims= " %%i in ("%~1") do (
@echo Testing TV mode...
@echo.
for /F "usebackq tokens=1,2* delims=," %%j in ('%%i') do (
if %%j==3 goto PAL
if %%j==4 goto NTSC
@echo Can't determine the TV system of %~nx1
@echo.
shift
goto START
)
)
:PAL
echo This is a PAL chapter file
echo.
echo #Scenarist chapter file generated from CCE chapter file >"%~d1%~p1%~n1.csv"
for /F "usebackq skip=1 tokens=1,2,3,4,5* delims=: " %%i in ("%~1") do (
if not "%%m"=="" (
@echo %%i:%%j:%%k;%%l,%%m, >>"%~d1%~p1%~n1.csv"
) ELSE (
@echo %%i:%%j:%%k;%%l, >>"%~d1%~p1%~n1.csv"
)
)
shift
goto START
:NTSC
echo This is a NTSC chapter file
echo.
echo #Scenarist chapter file generated from CCE chapter file >"%~d1%~p1%~n1.csv"
for /F "usebackq skip=1 tokens=1,2,3,4,5* delims=: " %%i in ("%~1") do (
if not "%%m"=="" (
@echo %%i:%%j:%%k:%%l,%%m, >>"%~d1%~p1%~n1.csv"
) ELSE (
@echo %%i:%%j:%%k:%%l, >>"%~d1%~p1%~n1.csv"
)
)
shift
goto START
:NEEDFILE
echo You must specify a CCE chapter file(s)
echo.
pause
exit
:END
echo -----------------------------------------------------------------------------
Echo All done...
echo.
pause
exit
PhillipWyllie
25th February 2009, 00:29
You probably wont use the batch unless you used CCE to encode the video. At some point I'd assume chapter-points were desided, whether at the the point of encoding or before hand(me I decided when I've got the video in CCE). This demonstrates one way of taking one delimited list and put it in in a format Scenarist can use.
If you are going to handmake the .csv then you've got the format right(remember the comma at the end). Be carefull with NTSC though as it's important to keep consistent with drop-frame or non-drop-frame(especially if you have used DGPulldown).
tandi
26th February 2009, 20:46
got it , thanks for your help
appreciate it
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.