PDA

View Full Version : Bash record command? / Wish list


Mjolinor
04-14-2002, 06:08 AM
Is there a bash command to make the Tivo start recording.

I want to take the tivo insides and place them with a good quality camera to record. I will use a PIC for control and can use something similar to PlayStream for playback. The PIC being just to output the correct Bash strings to the serial port depending on which button was pressed. I don't have a command to make the Tivo record and stop recording.

To go with this I would like to use laptop hard drives because they stand movement better and would really like to use 10 Gb in a changeable carriage. The problem here is that my image will only restore to 30Gb or more discs. Is there a way to make my image restore to a 10 Gb drive or am I building an image from scratch, not something that seems to be too straightforward.

Next step, this would not be in the same Tivo. I would hopefully remove the files from the recording Tivo and transfer them to another Tivo via Tivonet.
I would like to be able to play a stream and mark an entry point, play another stream and mark an exit point then hit "GO" and the output stream would change from one file to the other at the marked point or a third stream would be created with the composite of the two original files. This is what Adobe Premier does when editing vides. Will this be a script thing or is it likely to need new binaries to achieve it. I realise that without I to P conversion I cannot get frame accurate splicing but at this time I am not concerned with that, I am not sure that the processor in a Tivo could achieve the I to P conversion in reasonable time anyway unless SW is written to invoke the MPEG chips on the board. This is way beyond my capabilities.

I have tried to read what I can about things but realise that I have probably missed some things that are relevant. Please do not flame me if you know of some links where these points may be addressed just give me the link and I will go and read

TheDoctor
04-14-2002, 05:02 PM
For the first part go to http://tivo.samba.org/download/tridge/ and download SendKey this allows you to 'press' buttons from a bash prompt. If you search this site for SendKey you should be able to find instructions on its use.

For stream extraction/conversion, there are a number of open threads many site devoted to the subject. The short answer is that a SA stream can be converted fairly easily, but audio sync can be an issue.

PlayItSam and PlayBack are two programs that will allow editing on the tivo from the Bash prompt or using an external computer. PlayBack can handle multiple streams, I am not sure if PlayItSam does. Again the search key will lead you to more info and site links.

michaelk
04-14-2002, 05:34 PM
first I'm no expert but i do read alot.

I do believe that i have read someplace on the net a how to with instructions for making an image from scratch inside the tivo (If my memory serves me correctly you get a bash on your current drive than put the 10gb drive in as B and use the a to create a 'new a' on the b.

SOrryy i cant remember for the life of me where i saw it so you'll need to widen your search a bit to track it down. (I dont beleive it was here or avsforums, but someplace without forums....)

Mjolinor
04-14-2002, 06:39 PM
OK thanks, I have downloaded from Tridge and I got playback yesterday, not messed with it yet. I have a disc full of stuff but it gets prioritised with the easability of the readme files. Tridges stuff seems to be very hard to find documentation for. I hadn't even guessed what Sendkey was but thinking about it it seems fairly obvious, not a lot else it could be :). I have seen a site about building an image from scratch but thought it was in a PC. I just found a diag directory on my 7 partition (4 is currently active) and it seems to have scripts in for making a disc so I will look at that.

Off to do some reading, thank you.

Mjolinor
04-17-2002, 06:42 PM
Hmmm, got the hang of send key unfortunately there is no definition for record. As this Tivo is unsubscribed I have no menu record functions, only the instant 30 minute record. I searched the corresponding files on the tivo and there is absolutely no definition for this function.


Downloaded and installed Playitsam and it bombs out saying

"I couldn't work out what sort of TiVo you have"

then gives a segmentation fault.

Not being too successful here.

:)

superzap
04-17-2002, 10:12 PM
The SendKey function for record is save

Mjolinor
04-18-2002, 05:06 AM
I tried that thinking it would be so having been told it is I investigated further.

I looked in the /tvlib/tcl/tv directory and opened sendkey.tcl

the line for save was commented out so I enabled it. It still didn't work.

What it needed was assigning the correct value. By default it was assigned the value 13, so it said

#set evrc (save) 13

In order to enable the record it needed to say

set evrc (save) 11

Hope this is useful for any other UK tivo messers.

michaelk
04-19-2002, 11:29 AM
if you hadnt found it yet, heres the link to make an image on any size drive:

http://pvrhack.sonnik.com/tivo/d18c7db/TiVo-Restore.htm