Page 1 of 2 12 LastLast
Results 1 to 15 of 22

Thread: tytotivo: Convert ty/ty+/tmf/xml files to .tivo files

  1. #1
    Join Date
    Mar 2005
    Posts
    235

    tytotivo: Convert ty/ty+/tmf/xml files to .tivo files

    PURPOSE
    -------
    This software extracts information from ty/ty+/tmf files or ty style showing.xml files and creates an encrypted .tivo file header file. Appending an mpeg-ps file to the end of .tivo file creates an "unecrypted .tivo" file that can then be uploaded to a TiVo unit using the standard tools. If the latest version of tytompg is located in the same directory, tytotivo will use it to extract and append the mpeg-ps file to create a complete .tivo file in one step

    ADDITIONAL REQUIREMENTS
    -----------------------
    You will need to use the MAK (Media Access Key) that has been assigned to the TiVo unit you wish to upload to.

    tytompg by BCC located here:
    http://www.dealdatabase.com/forum/sh...ad.php?t=58397

    Note this is a revised version of tytompg which now includes S3 and append to file options. Previous versions will not work.

    INSTRUCTIONS
    ------------
    Place tytotivo and tytompg in the same directory then call tytotivo with YOUR MAK.

    Usage: tytotivo.exe [-y] [-m mak] [-o outfile] infile
    -m TiVo Media Access Key (read from file named mak if missing)
    -o output file (same as input with .tivo extension if missing)
    input file

    example:
    tytotivo -m 1234567890 -i tyfile.ty -o tyfile.tivo
    tytotivo -m 1234567890 -i tmffile.tmf -o tmffile.tivo
    tytotivo -m 1234567890 -i showing.xml -o partial.tivo
    tytotivo tyfile.ty


    NOTE: If a showing.xml file is used, or tytompg is not found, the resulting .tivo file will need to have an mpeg-ps file appended to the file in order to be complete. You can do this like:
    cat partial.tivo mpeg-ps.mpg > complete.tivo
    or, for windows:
    copy /b partial.tivo + mpeg-ps.mpg complete.tivo

    THANKS
    ------
    Thanks to BCC for creating and updating tytompg.
    Thanks to Jeremy Drake for tivodecode.
    Thanks to Jamie, tridge, ADH, and others for Unified mfs_* tools.
    Thanks to wsewell and others for tivoserver.
    Last edited by jkozee; 04-21-2008 at 04:22 PM. Reason: bug fix for windows long file names

  2. #2
    Join Date
    Jun 2006
    Location
    Dougal County
    Posts
    1,007
    Thank you for this! I'm eager to see what you've done, but the tarball you've posted seems to be corrupted. I get irrecoverable errors using 7zip or cgywin's built-in tar. I can unpack the x86 binary, but source code is of course always much more interesting.

  3. #3
    Join Date
    Mar 2005
    Posts
    235
    Quote Originally Posted by jt1134 View Post
    Thank you for this! I'm eager to see what you've done, but the tarball you've posted seems to be corrupted. I get irrecoverable errors using 7zip or cgywin's built-in tar. I can unpack the x86 binary, but source code is of course always much more interesting.
    It looks like the attachment was truncated. I've uploaded the attachment again and it looks fine now.

  4. #4
    Join Date
    Mar 2005
    Posts
    235
    New version fixes a bug with long file names on windows, linux version should be ok.

  5. #5
    Join Date
    Jun 2006
    Location
    Dougal County
    Posts
    1,007
    With all the requests for something like this from people moving on from dtv and such, I'm surprised no one's said it:

    THANK YOU!!

    I've been making .tivo files and moving them to my new TivoHD all day long without any issues. Feels good to finally retire my HR10-250. Your work is appreciated!

  6. #6
    Join Date
    Jan 2004
    Location
    n.h. usa
    Posts
    955
    ignore rambligs didnt realize you need tytompg also
    'tytompg' is not recognized as an internal or external command,
    operable program or batch file.
    Last edited by lgkahn; 04-19-2008 at 10:48 AM.

  7. #7
    Join Date
    Jan 2004
    Location
    The Desert
    Posts
    44

    Not working

    Sounds like a nice tool to access some of my old (S1) .ty files, but I cannot seem to get it to work. Trying the following command in a directory containing witch.ty, tstompg.exe, tytompg.exe and tytotivo.exe:

    tytotivo -m <my mak> witch.ty

    gives me this output

    tytotivo was developed by jkozee.
    Portions of this code based on or inspired by:
    mfs_uberexport - http://www.dealdatabase.com/forum/sh...ad.php?t=39487
    tivodecode - http://sourceforge.net/projects/tivodecode/
    tivoserver - http://sourceforge.net/projects/tivoserver/
    s3tots - http://dealdatabase.com/forum/showthread.php?t=57574
    Please see LICENSE.TXT, as additional restrictions may apply.

    showing.xml not found: No such file or directory


    According to the README.TXT, if I have a showing.xml file, then I have to append an mpeg-ps file to complete the .tivo file, yet I don't have a showing.xml file present...

    Likely something simple, but not sure what the problem is...
    Sony SVR-2000 120GB w/TurboNET
    Sony SVR-2000 2x120GB w/AirNET
    TiVo S2 DT 320GB

  8. #8
    Join Date
    Mar 2005
    Posts
    235
    Quote Originally Posted by del4 View Post

    showing.xml not found: No such file or directory
    Looks like the file doesn't have the metadata included. I can think of two reasons.
    1) The file is incomplete. The showing.xml data is located in the last block of the file, so if the file is not complete then the data won't be there.
    2) These old ty files were exported without the metadata. I believe (somebody correct me if I'm wrong) that older tools didn't include anything but video in the Ty files. The Ty+ format was created to add the metadata to the Ty files, and since they were backwards compatible (since the metadata was inserted in filler space) the exporting tools (mfsuberexport) were re-worked to inclued Ty+ and Ty was also changed to be a Ty+ format, just using the .ty extension.

    So, this tool works with ty/ty+/tmf from the latest exporting tools, but will not work on ty files if there is no metadata included. Your best option is to just convert it to a mpeg-ps (.mpg) and use TivoDesktop or pyTivo to serve it back to the tivo. If you are using pyTivo I believe the lates version allows you to add metadata (don't quote me on that, I haven't actually used pyTivo yet).

    You could still create a .tivo file, but you will have to create the showing.xml file manually, convert the ty to a mpg, then use tytotivo produce a .tivo file. Probably more trouble than it's worth.

    HTH and sorry for the confusion about the file types.

  9. #9
    Join Date
    Apr 2003
    Posts
    38
    I was getting a segmentation dump when trying to run the linux binary, but running make in the src directory gave me a working one. Great tool. Thanks!

  10. #10
    Join Date
    Jan 2008
    Posts
    2
    Great tool! This along with mfs_ftp is allowing me to pull shows off our old S1 and move them over to our new S3.

    It does look like shows from the same series are not going into a folder though on the S3. Any thoughts on this? I think this means that it doesn't think they have the same series ID?

    Scott

  11. #11
    Join Date
    Mar 2005
    Posts
    235
    Quote Originally Posted by HerronScott View Post
    It does look like shows from the same series are not going into a folder though on the S3. Any thoughts on this? I think this means that it doesn't think they have the same series ID?
    Correct, if the series id's don't match they won't be grouped together in the same folder. You can fix the values in the ty/tmf file before you process it. I also submitted a patch to sourceforge that included a tdmake app that allows you to combine .tivo xml and mpg files.

  12. #12
    Join Date
    Sep 2007
    Posts
    7
    No matter what I do I cannot get this to run as it should. All I get is the following.

    Code:
    Z:\TyToTiVo>tytotivo -m XXXXXXXXXX -i StarTrekIV.ty -o StarTrekIV.tivo
    tytotivo was developed by jkozee.
    Portions of this code based on or inspired by:
    mfs_uberexport - http://www.dealdatabase.com/forum/showthread.php?t=39487
    tivodecode - http://sourceforge.net/projects/tivodecode/
    tivoserver - http://sourceforge.net/projects/tivoserver/
    s3tots - http://dealdatabase.com/forum/showthread.php?t=57574
    Please see LICENSE.TXT, as additional restrictions may apply.
    
    Usage: tytotivo [-y] [-m mak] [-o outfile] infile
      -m TiVo Media Access Key (read from file named mak if missing)
      -o output file (same as input with .tivo extension if missing)
      input file
    Also, you mention tdmake app to merge xml and mpg do you have a link available?
    Last edited by OKCRandy; 05-04-2009 at 10:34 PM. Reason: add question

  13. #13
    Join Date
    Jan 2005
    Posts
    1,008
    Quote Originally Posted by OKCRandy View Post
    No matter what I do I cannot get this to run as it should. All I get is the following.
    I think your usage is wrong; should be something like:
    Code:
    Z:\TyToTiVo>tytotivo -m XXXXXXXXXX -o StarTrekIV.tivo StarTrekIV.ty
    Don't know the answer to your 2nd question.
    ScanMan --> Just another Tivo hacker...
    Killhdinitrd SA S2 Monte S2 Unscramble Upgrade Tivo Software

  14. #14
    Join Date
    Mar 2005
    Posts
    235
    Quote Originally Posted by ScanMan View Post
    I think your usage is wrong; should be something like:
    Code:
    Z:\TyToTiVo>tytotivo -m XXXXXXXXXX -o StarTrekIV.tivo StarTrekIV.ty
    Correct. Or just:
    Code:
    Z:\TyToTiVo>tytotivo -m XXXXXXXXXX StarTrekIV.ty
    Quote Originally Posted by OKCRandy View Post
    Also, you mention tdmake app to merge xml and mpg do you have a link available?
    I don't have the binary, but you can find the patch files here and compile it using MS Visual Studio Express.

  15. #15
    Join Date
    Sep 2007
    Posts
    7
    Thanks for the replies.

    When I fallow the above examples, I get this error on any tmf or ty file I try to convert.

    Code:
    Z:\TyToTiVo>tytotivo -m XXXXXXXXXX StarTrekIV.ty
    tytotivo was developed by jkozee.
    Portions of this code based on or inspired by:
    mfs_uberexport - http://www.dealdatabase.com/forum/showthread.php?t=39487
    tivodecode - http://sourceforge.net/projects/tivodecode/
    tivoserver - http://sourceforge.net/projects/tivoserver/
    s3tots - http://dealdatabase.com/forum/showthread.php?t=57574
    Please see LICENSE.TXT, as additional restrictions may apply.
    
    tytompg: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Multiplexer version 0.21, Demuxer version 0.27
    tytompg: illegal option -- p
    error: Invalid arguments specified.
    Usage: tytompg -i infile -o outfile
            OR tytompg infile [outfile]
    -d<opt> Turn on debug option
    -i infile       Input file containing .ty/.ty+/.tmf source
    -o outfile      Output file for mpeg2 transport stream
    -s n    Skip n chunks
    -n n    Process n chunks
    -y      Allow overwrite of output file
    If I just run tytompg I do not get any errors, the file processes just fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •