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

Easier to use pyTivo

Discussion in 'TiVo Coffee House - TiVo Discussion' started by Dan203, Jan 23, 2017.

  1. Dec 7, 2017 #1441 of 1670
    aaronwt

    aaronwt UHD Addict

    21,256
    446
    Jan 31, 2002
    Northern...
    There are several sub-channels in my area that broadcast at 480P and at a 16x9 aspect ratio. And The zoom button does nothing to change the aspect ratio with them. They stay full screen in the 16x9 aspect ratio even though they are only 480P.
     
  2. Dec 7, 2017 #1442 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    Yep, my understanding of how that control on the TiVo worked was incorrect. @wmcbrine enlightened me.
     
  3. Dec 7, 2017 #1443 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    That's interesting actually. Your TV is 16:9 I assume, but the Panel/Zoom/Full changes what is displayed for an HD channel?

    If that's true it makes me think perhaps your TiVo doesn't know your TV is 16:9 and thinks it is 4:3, check the settings.
     
  4. Dec 7, 2017 #1444 of 1670
    aaronwt

    aaronwt UHD Addict

    21,256
    446
    Jan 31, 2002
    Northern...
    That is how it's supposed to work. On an HDTV/UHDTV with an SD channel the zoom function works. On an SDTV with an HD channel the zoom function works.

    Most of the 480P sub-channels work with the zoom but these 480P sub-channels are different. For some reason you are unable to use the zoom function with them.
     
  5. Dec 7, 2017 #1445 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    Look at my previous post responding to wmcbrine where I specify my new understanding of what Panel/Zoom/Full do.
    If you've got a 16:9 TV and a 16:9 show you'll see that the result of all three zoom modes will result in exactly the same picture (also true for a 4:3 TV and 4:3 show). As @wmcbrine points out SD vs HD isn't really relevant, just the video aspect ratio and the display aspect ratio.
     
  6. Dec 8, 2017 #1446 of 1670
    HerronScott

    HerronScott Well-Known Member

    5,477
    549
    Jan 1, 2002
    Staunton, VA
    This has been broken for Roamio's (again) as of a couple updates ago (20.7.2?).

    Scott
     
    jth tv likes this.
  7. Dec 8, 2017 #1447 of 1670
    JoeKustra

    JoeKustra in the other Alabama TCF Club

    12,028
    1,514
    Dec 7, 2012
    Ashland, PA...
    Doesn't work in Hydra either.
     
    jth tv likes this.
  8. Dec 8, 2017 #1448 of 1670
    aaronwt

    aaronwt UHD Addict

    21,256
    446
    Jan 31, 2002
    Northern...
    But that's just it, it doesn't necessarily work that way for me. With other 480P subchannels I've still seen shows that allow me to zoom, even though they are 16:9. The ones that don't allow you to zoom have been that way for years now. But didn't used to be that way.
     
  9. Dec 8, 2017 #1449 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    Ah, that's interesting. So how sure are you that the shows on the channels that do allow you to zoom are really 16:9? What do they look like in each of the 3 modes, particularly Panel?
    Also have you by any chance downloaded (and decrypted) any of those shows to your computer? MediaInfo would give a lot of information about the format including the resolution and aspect ratio.

    I'm just curious if we can come up with an explanation of why those channels act like they do.
     
  10. Dec 8, 2017 #1450 of 1670
    JoeKustra

    JoeKustra in the other Alabama TCF Club

    12,028
    1,514
    Dec 7, 2012
    Ashland, PA...
    Sometimes information is missing, so you get unpredictable results -> Active Format Description - Wikipedia

    It's really noticeable on commercials that are 4x3 sometimes and 16x9 other times.
     
  11. Dec 9, 2017 #1451 of 1670
    jth tv

    jth tv Well-Known Member

    1,442
    77
    Nov 15, 2014
    This morning restores started working. No orange ! and no red x's.
     
  12. reneg

    reneg Active Member

    906
    103
    Jun 19, 2002
    1) Occasionally running into an issue with a permanent stall in post-processing when downloading from multiple Tivos. Not sure what triggers it, but it only seems to happen when I'm downloading from two or three Tivos concurrently.
    Screenshot of the stall:
    upload_2017-12-12_12-54-23.png
     
  13. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    42,005
    1,806
    Apr 17, 2000
    Nevada
    Hmmm... I’ll have to look into this. Not sure if the post processing code is properly threaded for multiple TiVo downloads.
     
  14. Jan 1, 2018 #1454 of 1670
    J_Palmer_Cass

    J_Palmer_Cass New Member

    7
    1
    Jan 1, 2018
    First post here.

    I have had few problems downloading TiVo files from the TiVo to the PC in the PS format. The movie files were cable mpeg-2 files. Slow but consistent results.

    Now that mpeg-4 has taken over many cable channels, we are stuck with TS transfers from TiVo to PC. I have never had one single clean mpeg-4 transfer from the TiVo to my PC.

    TiVo desktop will not run on my 64-bit Windows 10 Fall Creators desktop PC. TiVo desktop works on my 32-bit Windows 10 tablet. KMTTG works fine. The new PyTivo works fine.

    I had one recent TiVo download via PyTivo that reported as zero after 5 tries saving the best download. It turns out that there are three glitches in the file.

    Just wondering what others do to analyze the TS file for errors without having to watch the entire movie downloaded from the TiVo?

    I also note that most individual TS TiVo downloads of the same file have errors in different places. At this point I am not sure what to do with my 8 months worth of TS TiVo files.
     
    Last edited: Jan 1, 2018
  15. Jan 2, 2018 #1455 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    I'm a little confused, you say you've never had a clean mpeg-4 (by which I think you mean h.264 ts) download from the TiVo, but then say you got one after 5 tries. I'm guessing that's because you saw 3 glitches when you watched it?

    My 1st question is did you re-watch those same 3 spots on the video still on the TiVo? Because I've encountered glitches in the show as broadcast and played back on the TiVo, which will obviously remain in a perfect copy downloaded to my PC.
     
  16. Jan 2, 2018 #1456 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    It's interesting that you say this because I was just about to ask here if people were still seeing the sync errors with TS downloads (as reported by pyTivo).

    In the last couple of weeks I've downloaded maybe 10 shows (from my Roamio TiVo), all of which had 0 sync errors on the 1st try. It's not really a large sample yet, so I may just have been lucky.

    You have 8 months worth of .tivo files. I know people do that I've just never understood why people using kmttg or pytivo save the .tivo instead of immediately decrypting it and saving the .mpg or .ts (or .ts as an .mp4 which is what I do).

    For me as long as the glitches are quite small (a couple of frames) the video is still watchable. If you can accept that what I'd do is:
    1. Get VideoReDo TV Suite 5 if you don't already own it (it's under $100) well worth the investment if you're regularly archiving from your TiVo.
    2. Use kmttg to process all of your .tivo files (doing a decode and qsfix) with VRD (This may require figuring out how to get the piece of Tivo Desktop installed that VRD needs to do the decode, @Dan203 can probably help)
    This will result in you having .mpg or .ts files that you can play anywhere, including sending back to your tivo via pytivo.

    The reason I suggest buying VRD rather than just using the available open source tools, is that VRD does a better job, and they've been very responsive fixing issues (in my case usually related to odd corruptions caused by the TV station, the cable company or the TiVo) so that I end up with a playable file on my PC.

    You can certainly do what I suggested using tivolibre to decode (I'm not sure about qsfix), but I'm less sure about how tivolibre handles the corrupted packets in the .tivo file.

    As a side note I install K-Lite Codec Pack (standard) on Windows and use Media Player Classic to play all videos
     
  17. Jan 2, 2018 #1457 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    And it looks like I spoke too soon and had just been lucky. :(

    I just started a download (w/ pytivo) and see sync errors being reported.

    So I was thinking about enhancing pytivo to using good packets from previous downloads, except that I did a comparison of 2 downloads and they're different. I believe the encryption for each download has a different salt value, which I think means I'd have to decrypt both downloads before I could combine them (and I'm not even sure that would work).
     
  18. Jan 2, 2018 #1458 of 1670
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    42,005
    1,806
    Apr 17, 2000
    Nevada
    In my tests the errors are almost always in the same spot so combining them isn’t really an option
     
  19. Jan 2, 2018 #1459 of 1670
    mlippert

    mlippert Active Member

    188
    26
    Apr 2, 2010
    Massachusetts
    Yeah, I've actually seen several times where combining them would be useful.

    On the other hand, I've got it set to make 4 attempts and I usually get under 300 error packets, which really isn't that much (under 60KB), so I figure after VRD strips it out I barely notice it.

    I think I'm going to modify my pytivo to save a better log file associated w/ each download (extension .syncerr.log) that will look something like:
    Code:
    {
        fileName: "Andi Mack - ''Hey, Who Wants Pizza.'' (Recorded Oct 27, 2017, DISNEYHD-E) (TS).tivo",
        fileSize: 2368497224,
        downloadStarted: "2018-01-02T18:13:35Z",
        attemptSaved: 3,
        totalErrorPackets: 126,
        downloadAttempts:
        [
            {
                attemptNumber: 1,
                status: "sync_errors_saved",
                errorPackets:
                [
                    { count:    154, start:   903047376, end:   903076328 },
                    { count:     11, start:  1804901612, end:  1804903680 },
                    { count:     14, start:  2256356164, end:  2256358796 }
                ]
            },
            {
                attemptNumber: 2,
                status: "sync_errors_aborted",
                errorPackets:
                [
                    { count:    130, start:   451416668, end:   451441108 },
                    { count:     28, start:   451441296, end:   451446560 },
                    { count:      2, start:   451446748, end:   451447124 },
                    { count:    154, start:   903047376, end:   903076328 }
                ]
            },
            {
                attemptNumber: 3,
                status: "sync_errors_saved",
                errorPackets:
                [
                    { count:    112, start:  1353414160, end:  1353435216 },
                    { count:     14, start:  2256356164, end:  2256358796 }
                ]
            },
            {
                attemptNumber: 4,
                status: "sync_errors_aborted",
                errorPackets:
                [
                    { count:    162, start:   451416668, end:   451447124 }
                ]
            }
        ]
    }
    
    Looking at log files like this should make it easier to decide if combining download attempts is worth it. Although as I said above, that's going to be trickier than I hoped.
     
  20. Jan 2, 2018 #1460 of 1670
    J_Palmer_Cass

    J_Palmer_Cass New Member

    7
    1
    Jan 1, 2018
    I might try saving 5 downloads of the same TiVo TS movie and take a look at that issue. I think that 2 retries for each file will be enough.

    I have compared 2 downloaded files of one movie, and only one problem area repeats near the same time stamp. The other problems are not close to each other in time.

    I am playing around with a program called TS Doctor. I am in the 30 day evaluation period. That program picks out TS errors by time stamp. That way I don't have to watch an entire video to find out how bad the problems are in real time. The problem areas tend to flash with a green screen.

    I suppose I could copy the video file in real time via HDMI capture if I really want the video in question. Kind of a pain to do that.
     

Share This Page