In case you’re still looking for a decent freeware commandline recording program,
I can recommend HarddiskOgg.
We’ve been using this for 3-4 years, and other than the (very) occasional slight timing issue
(±2s, but that might be caused by the hard disk falling into standby mode),
it has been rock solid…
Here’s a batch file we use to record our shows, plus our HDO preset file:
[code=recordshow.bat]:: records a show
::
:: syntax:
:: recordshow filename length_in_seconds
:: %1 filename
:: %2 length in seconds
:: example: recordshow beatnik240207 7195
@echo off
:: set home directory for scripts
set homedir=%~dp0
cd %homedir%
:: location of log file
set corderlog=209corder log.txt
:: check if log file exists and create one if necessary
if exist “%corderlog%” >> “%corderlog%” echo ----------------------------
if not exist “%corderlog%” > “%corderlog%” echo ----------------------------
:: record the file
call :WRITELOG “recording %1”
harddisk.exe -record -timelimit %2 -tos -overwrite -silent -minimize -preset harddisk.hdp -output %1.wav
IF %ERRORLEVEL% NEQ 0 call :ERROR “recording %1”
:: recording completed successfully
call :WRITELOG “%1 completed”
exit
::functions
GOTO :EOF
:: logging
:WRITELOG
echo %date% %time% %1
“%corderlog%” echo %date% %time% %1
GOTO :EOF
:: Error handling
:ERROR
echo %date% %time% !!! ERROR in %1: %ERRORLEVEL% !!!
“%corderlog%” echo %date% %time% !!! ERROR in %1: %ERRORLEVEL% !!!
GOTO :EOF
[/code]
[HarddiskOgg Settings]
Content=Encoder Preset
Version=1
[Encoder Settings]
Active=WACM
[Encoder Settings WACM]
Rate=44100
Channels=2
BPS=16
InSize=18
In=SAAABAgAAQErAAAExKAAEAAEAAAA
OutSize=18
Out=SAAABAgAAQErAAAExKAAEAAEAAAA
If you’re using Windows Task Scheduler for triggering recordings,
you’d put something like this into the “Run” field:
C:\WINDOWS\system32\cmd.exe /c start /min c:\foldername\recordshow.bat filename 3600
Hope that helps someone.
PS: I am considering writing my own task scheduler / recording program in AutoIT at the moment,
since in Windows Task Scheduler you can only trigger a task on the minute (rather than second).
If there is interest I’ll release it here
(although it might take a few weeks if not months for me to turn it into a stable piece of software)