1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tivodecode with TS support

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Feb 17, 2010.

  1. Agent86

    Agent86 Registered Lurker

    574
    1
    Jan 18, 2002
    I tried to download and compile the source release on my Mac, but I'm not having much luck.

    Out of box the configure script doesn't want to run. This is because the configure script, and some of the other scripts it uses, are not in Unix format. Re-saving the following files to Unix format will allow configure to cleanly run.

    configure
    depcomp
    missing
    Makefile.in
    install-sh

    Unfortunately, once that is tackled the compiler starts throwing "implicit declaration of function" errors in the hexlib.c file and then fails to build.

    Someone should be able to grab the Windows binary and take it for a spin through.
     
  2. FourOhFour

    FourOhFour HTTP Error

    1,523
    4
    Apr 4, 2001
    I compiled it on my Linux ARM box. It compiled fine after I ran dos2unix *. It appears to be working fine on the PS files I have, but on a TS file it errors out. ("TiVo Private Data : Unmatched Stream ID: Success")
     
  3. brimimc

    brimimc New Member

    13
    0
    Aug 6, 2008
    I also had problems on the mac and couldn't solve them by just changing the line endings. I had to take the 0.3pre4 download and apply the code changes from 0.3pre6.

    After that I ran into the "TiVo Private Data : Unmatched Stream ID" error in ts_handle_tivo_private_data which I 'solved' by adding the if (pid == 0xffff) block below:

    while ( stream_bytes > 0 )
    {
    pid = portable_ntohs( pPtr );
    stream_bytes -= 2;
    pPtr += 2; // advance past pid

    if (pid == 0xffff) {
    pPtr += stream_bytes; // I don't think this matters
    stream_bytes = 0; // I don't think this matters
    break;
    }

    But after all that, I am also seeing the pixelation ever 4-5 seconds as described above but just don't understand the code well enough to know where to look next.
     
  4. arantius

    arantius New Member

    60
    0
    Jul 25, 2009
    I just ran into trouble after updating to a 64 bit linux system (always instant segfault). I couldn't find a good place that this source was cleanly accessible, as the SourceForge project looks dead.

    So I gathered all the patches I could see above and threw them on github:
    https://github.com/arantius/tivodecode

    The result totally works for me. No visual glitches (after watching the first ~60 seconds of one test file).
     
  5. arantius

    arantius New Member

    60
    0
    Jul 25, 2009
    I take it back. Some streams do definitely have the aforementioned periodic corruption, just not those I tested with earlier.
     
  6. moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Yup, unless the remaining problems with the tivodecode source are fixed, the only reliable/glitch free way to decrypt TS streams is using TiVoDirectShowFilter.dll that is part of TiVo Desktop.
     
  7. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
    Since I couldn't get TiVODecode to work on Fast TiVO trasnfers, I found another tool that uses TiVO Desktop DirectShow filters to decode Fast TiVO trasnfers and remux it into a TS file.
    With the latest version of MCEBuddy (2.3.15) (mcebuddy2x.codeplex.com) there is a command line tool called MCEBuddy.RemuxTiVOStreams.exe
    This is a command line tool that can remux Fast TiVO (and regular TiVO) using TiVO Desktop DirectShow filters and falls back to TiVO decode if that doesn't work.
    Pretty easy to use:
    Usage: RemuxTiVOStreams <TiVOFile> <TempPath> <MAK> <AudioLanguage>
     
  8. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
    This program uses TiVODirectShowFilter.dll to decode the TiVO files FYI to make sure you have TiVO desktop installed and your MAK entered. It falls back to TiVODecode is the DirectShow dll has issues.
     
  9. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
    I'm trying to see if I can put it together into a zip file
     
  10. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
    I hope everyone knows that the DirectShow dll only works on 32bit programs (so don't use 64 bit of mcebuddy)
     
  11. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
  12. rboy

    rboy New Member

    6
    0
    Jan 18, 2014
  13. ejonesss

    ejonesss New Member

    116
    0
    Aug 13, 2007
    @rboy is your post something i can double click and run without any comman line or compiling?
     

Share This Page