ExtractStream + new SVR2000 FIXED!
jeremyjgordonhome
jgordon at s...
Sun, 06 Jan 2002 12:39:16 -0000
Hi All,
Well, I think I've figured out the issues with the SVR2000 and
ExtractStream (and variants). The issue is that the two media
partitions (/dev/hda10 and /dev/hda11) which normally exist from the
factory are actually four on the SVR2000 (additionally /dev/hda12
and /dev/hda13).
I've written a new C++ program "StreamServer", which can handle this
configuration, and can currently serve up the raw tyStream's over
HTTP (instead of all the telnet window stuff) without totally
choking the Tivo.
Basically, /dev/hda10 on my system (and Tivo's since the dawn of
time) is small (256 megs) and AFAIK used to store the general MFS
database stuff. /dev/hda11 is much larger (on my system 16gig,
smaller than previous SVR2000's) and used to store the actual
video/audio tyStream data.
As mentioned above, /dev/hda12 and /dev/hda13 mirror this
configuration (another 256 meg partition, and 16gig partition). I'm
not yet sure why some FSID's should use the normal ExtractStream
calculation to map FSID to physical sector on the MFS database
partition A (/dev/hda10), and sometimes use my calculation to map
FSID to physical sector on the MFS database partition B
(/dev/hda12), but right now I coded it so that if it fails to get a
valid signature with the FSID on MFS partition A, it will go look on
partition B. I look at the first sector of /dev/hda10 to determine
the partition configurations, so I'm not sure it will work for all
configs, but I think it will work for both pre-December and post-
December SVR2000's automagically.
I'm still cleaning stuff up; should be able to post the source and
binary tomorrow evening. The goal of this "StreamServer" program is
do all the tyConvert type work on the TiVo. Basically, I want to be
able to point Internet Explorer at my TiVo and watch MPEG2 streams
in the browser (with the ever lovely Windows Media Player), and/or
be able to "download" SVCD bitrate ready MPEG2 streams in ~15min to
archive my shows.
I still plan on using the TCL application TivoWeb on port 80, but
modified so that the "Now Showing" of a recorded show has a new
hyperlink that specifies a URL's to the nicepri'd native
application "StreamServer" running on port 81.
Regards,
Jeremy