muirhejs
14 years agoVisitor
Tivo + Kmttg w/ biftool
Just in case anyone else is looking to use their Tivo shows with RoksBox, MyMedia, or similar. I've had great success with kmttg, but the one thing that was troubling me a bit was that when fast forwarding / rewinding, I didn't get any previews of where in the show it was. So I've put together a really simple Windows batch file to be used with kmttg's "custom command" option, i.e. "C:\Users\Home\Tivo\bifcreate.cmd [encodeFile]" in my case...
Here it is for anyone interested. Be warned that the sync between the video and the preview images is not great, but likely passable if you're not too picky!
- John
Here it is for anyone interested. Be warned that the sync between the video and the preview images is not great, but likely passable if you're not too picky!
@echo off
set BIFTOOL="C:\Users\Home\Tivo\roku\biftool.exe"
set FFMPEG="C:\Users\Home\Tivo\ffmpeg\ffmpeg.exe"
set TIVODATA="C:\Users\Home\Tivo\Data"
set TIVOFILE=%1
cd %TIVODATA%
for %%i in (%TIVOFILE%) do set NEWFOLDER="%%~ni"
echo Processing %TIVOFILE% into %NEWFOLDER%...
mkdir %NEWFOLDER%
echo %FFMPEG% -i %TIVOFILE% -r .1 -s 320x240 %NEWFOLDER%\%%010.jpg
%FFMPEG% -i %TIVOFILE% -r .1 -s 320x240 %NEWFOLDER%\%%08d.jpg
cd %NEWFOLDER%
cd ..
%BIFTOOL% -t 10000 %NEWFOLDER%
del %TIVODATA%\%NEWFOLDER%\*.jpg
rmdir %NEWFOLDER%
- John