CCExtractor
Posted: Thu Apr 10, 2014 8:35 am
When I started to run XBMC here Iv found one main problem, the lack of good subtitle support for (recorded) TV.
Then I found ccextractor that could fix this problem in some sense - http://ccextractor.sourceforge.net/
Iv put together a small batch file that could run in the recording directory to output .srt-files (subtitles file).
Disclaimer: run it on your own risk
I hope it could be useful to someone.
/tompa
Then I found ccextractor that could fix this problem in some sense - http://ccextractor.sourceforge.net/
Iv put together a small batch file that could run in the recording directory to output .srt-files (subtitles file).
Disclaimer: run it on your own risk
Code: Select all
@echo off
SETLOCAL
set ccextract=C:\ccextractorwin.exe
FOR /D /R %%i IN (*) DO (
IF NOT EXIST "%%i\*.srt" (
echo run ccextract
cd %%i\
rem run page 199 for recordings including "channel1"
FOR %%a IN (*channel1*.ts) DO (
"%ccextract%" "%%a" -tpage 199
)
rem run page 690 for recordings including "channel2"
FOR %%a IN (*channel2*.ts) DO (
"%ccextract%" "%%a" -tpage 690
)
) ELSE (
echo dont run ccextract
)
)
echo Done!
pause
/tompa