Quote:
Originally Posted by alexiase
thx a lot
with your bat, this mean i need to launch a bat per model isn't it?
|
Yes, but it's possible to create a bat file to start many more bat files, something like:
start /min model1.bat
start /min model2.bat
start /min model3.bat
(/min is to start minimized)
To not create new windows for each model and stay on only one console window:
EDIT: This won't work because on the same console windows all the parameter will mix up.
START /B /min CMD /C CALL model1.bat
START /B /min CMD /C CALL model2.bat
START /B /min CMD /C CALL model3.bat
ChaturbateRec can be more practical to use and records in TS instead of FLV, which is better to seek and see if the file is worth to keep or convert to mp4.
But ChaturbateRec doesn't seems to be very reliable, some records stutter and are useless.
To create a new bat for a new model, just copy & paste any bat (that records) and rename it with the new model to record.
Now that we are at it, this is other batch to convert FLV to MP4, will convert any flv on the same folder to mp4, will delete any flv with 2MB or less, and if the convertion to MP4 was successfull will delete the original flv.
ffmpeg must be on the same folder, or the path to ffmpeg must be added.
Code:
@ECHO OFF
FOR %%A IN (*.flv) DO (
CALL :FIX "%%A"
)
GOTO END
:FIX
ECHO -------------------------------------------------------
call :setsize %1
IF %size% LSS 2097152 (
DEL %1
ECHO -------------------------------------------------------
ECHO:
ECHO %1
ECHO Too small, deleted!
ECHO:
GOTO :eof
)
SET output=%1
SET output=%output:~0,-4%mp4"
ECHO Converting to MP4...
ffmpeg.exe -i %1 -strict experimental -c:v copy -c:a libvo_aacenc -ab 16k -ar 16000 -ac 1 %output%
call :setsize %output%
IF %size% LSS 4096 (DEL %output%) ELSE (DEL %1)
ECHO -------------------------------------------------------
ECHO(
ECHO %1
ECHO Done!
ECHO(
GOTO :eof
:setsize
SET size=%~z1
GOTO :eof
:END
ECHO -------------------------------------------------------
ECHO:
ECHO All done!
ECHO ON
@PAUSE
Regards!