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. lew

    lew Well-Known Member

    4,171
    63
    Mar 12, 2002
    I turned on debug when I was trying to figure out what was happening with time codes.
    Message is
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible

    INFO:pyTivo:192.168.1.19 [15/Feb/2018 16:18:15] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    frame= 2869 fps=797 q=-1.0 size= 65366kB time=00:01:35.66 bitrate=5597.6kbits/s speed=26.6x
    frame= 3358 fps=819 q=-1.0 size= 76344kB time=00:01:51.97 bitrate=5585.1kbits/s speed=27.3x .....

    It says h264 isn't compatible. I have a new computer. I have no idea if the fast speed means it's only remuxing or if is in indication of the speed of my computer.

    Thanks.
     
  2. lpwcomp

    lpwcomp Well-Known Member

    9,461
    296
    May 6, 2002
    John's...
    I get the same message with debug on when I pull an h.264 in an mp4 and I assure you it is not being transcoded, merely muxed into a TS.

    Compare the size on the TiVo with the file size on the PC. They're probably pretty close.
     
  3. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    44,194
    2,676
    Apr 17, 2000
    Nevada
    There is a little icon in the tray. You can use that to start/stop a hidden version of the pyTivo console app.
     
  4. cp2k

    cp2k Member

    80
    2
    Mar 15, 2004
    Thanks, for some reason it isn’t appearing. Hopefully all will be well on the laptop when I install it on there.
     
  5. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    44,194
    2,676
    Apr 17, 2000
    Nevada
    Hmmm.... there is a separate app for that in the install folder called pyTivoTray. Try running that.
     
  6. ThAbtO

    ThAbtO TiVoholic by the bay

    9,465
    473
    Apr 6, 2000
    SF Bay Area
  7. lew

    lew Well-Known Member

    4,171
    63
    Mar 12, 2002
    Thanks for the insight. The file on the tivo was a little bigger.
     
  8. igirl

    igirl Tivo and EyeTV User

    233
    8
    Feb 5, 2011
    Sarasota, FL
    I had not looked at PyTivo in a very long time... Installed the new OSX version (first time) and it seemed to be OK... It found the Roamio and I set up a folder and thought I started a group transfer. Then I went and looked at some prefs/settings to maybe see if there was some status or something since I couldn't tell if it was working or not. (there was no "start transfer" button - and no progress bar) - when I tried to go back to the program list - it just froze looking for the Roamio again. I thought maybe it had clogged up ny network and I restarted the Mac and program and got this error - "Error connecting to the PyTivo!" - I couldn't figure it out so I just uninstalled. Oh well. :-/
    OSX 10.11.6 FWIW

    By scanning over this thread it seems it's maybe not as simple as just running the program?
     
  9. lpwcomp

    lpwcomp Well-Known Member

    9,461
    296
    May 6, 2002
    John's...
    If it had actually been transcoded to MPEG2, it would be a lot bigger.
     
  10. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    44,194
    2,676
    Apr 17, 2000
    Nevada
  11. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    44,194
    2,676
    Apr 17, 2000
    Nevada
    It should be that simple. When you say you started a transfer were you transferring from TiVo to PC or from PC to TiVo.

    If you were going from TiVo to PC then the progress would be in the queue. You access the queue by clicking the button in the upper right with the number on it. If you don't see that button check the log (gear-About-Show log).

    One issue I ran into recently with another user is that he had a rented TiVo from his cable company and they had disabled TiVoToGo transfers on that unit. It would show the list but when he attempted to transfer something it would fail with a 405 error in the log because access to downloads was disabled.

    Another potential issue is antivirus software. It can sometimes delete or corrupt some of the files pyTivo uses. If this is the case you'd need to disable AV, reinstall pyTivo Desktop, then before reenabling AV go into it's settings and add an exception/ignore for the pyTivo install folder.

    If you were transferring from PC to TiVo there is no progress. You can see the transfers queued up in the To Do List, but that's it.
     
  12. igirl

    igirl Tivo and EyeTV User

    233
    8
    Feb 5, 2011
    Sarasota, FL
    Thanks Dan, In this case I was attempting to just transfer from Tivo to an OSX desktop/external drive destination. I uninstalled and just tried again with similar results. Once I set a "download all" and then try to navigate around the program to see the queue or settings it just freezes up with a spinning blue ball - the Tivo shows up and all I see is a blank white area with "loading show list". I can restart/quit all I like but that status never goes away after that. The only way to get out of it is uninstall, then reinstall. :-/

    Being OSX there is no antivirus software running. This is our own lifetime Roamio - not rented and not customized in any way. I'd probably guess some conflict with another software perhaps. I might wait to try again until the day I decide to jump to 10.13 and clean install a new system.
     
  13. Mgalin

    Mgalin Member

    59
    0
    Jan 6, 2002
    Anyone seen an issue when brining back H.264 content, the skip 30 or fast forward, actually goes back and the fast forwarding is wonky in general?
     
  14. lpwcomp

    lpwcomp Well-Known Member

    9,461
    296
    May 6, 2002
    John's...
    Probably ffmpeg mucking up the timecodes. See this post for a possible solution.
     
  15. elprice7345

    elprice7345 Member TCF Club

    268
    7
    Sep 28, 2009
    Denver, CO
    TiVo/pyTivo/ffmpeg have an issue with transferring high bit-rate content like Blu-ray rips if TS=On. In Dan's version this is "Send files as transport stream". Mine is set to "Off". More shows are transcoded, but I don't have FF & duration issues.

    The symptoms are similar: wonky FF & skip. I also noticed the duration of the file after transfer to my TiVo was different than the source

    See this thread: https://pytivo.sourceforge.io/forum...t-exceeded-the-expected-size-t2891.html#17543
     
    ClearToLand likes this.
  16. lpwcomp

    lpwcomp Well-Known Member

    9,461
    296
    May 6, 2002
    John's...
    I had both of the above problems until I added "-muxdelay 0" to the ffmpeg parameters.
     
  17. elprice7345

    elprice7345 Member TCF Club

    268
    7
    Sep 28, 2009
    Denver, CO
    @lpwcomp Do you have TS=Auto and have you tried transferring Blu-ray quality files? >22k?
     
  18. lpwcomp

    lpwcomp Well-Known Member

    9,461
    296
    May 6, 2002
    John's...
    Actually, I have ts = on. As far as the second part of the question, I'm going to put it back on you - have you tried transferring high quality video with ts=on and -muxdelay 0?
     
  19. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    44,194
    2,676
    Apr 17, 2000
    Nevada
    Try downloading just one file and see if that works. Download all is basically just a macro that's clicking the download button of every file. It can take a while to complete since it has to send a command to the pyTivo server for every file. Depending on how many files there are it could take several minutes and would likely appear frozen until it finished. (might be something I could do about that in the next release)

    How many files are we talking about here?
     
  20. elprice7345

    elprice7345 Member TCF Club

    268
    7
    Sep 28, 2009
    Denver, CO
    Reporting back that setting TS=Auto and adding "-muxdelay 0" did not fix my particular issue with pulling high bitrate Blu-ray rips.

    PyTivo remuxes the video with the following command:
    Code:
    ffmpeg.exe -i Sample1.mkv -bufsize 8192k -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -copyts -b:a 448k -ar 48000 -map 0:0 -map 0:1 -muxdelay 0 -f mpegts -
    Sample 1:
    Original file duration: 47m:33s
    TiVo reported duration: 44m:05s

    Sample 2:
    Original file duration: 21m:29s
    TiVo reported duration: 22m:23s

    I'm going back to my original settings with TS=Off

    I'd rather transcode and have no FF & rewind issues and the correct duration than have a faster transfer time without transcoding.

    I've attached MediaInfo dumps for both files.

    If anyone with more ffmpeg experience has any suggestions, I'll be happy to try them.
     

    Attached Files:

Share This Page