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

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    No it looks like it does the time/date from the tivo would be my guess.

    Another question - These files are bittorrent so I copied a previous metadata file and change a few things to match the current file. When I send it back it creates another new folder on the tivo - "Two and a half men". I though if I recall as long as the seriesID was the same it would push to the current recorded folder listed on the tivo.
     
  2. xdroccax

    xdroccax New Member

    31
    0
    Feb 26, 2006
    I've been successfully using pytivo with a NAS device (Maxtor MSS1) for some time now. Recently, i purchased a new NAS device (Maxtor Central Axis 1tb) and can't seem to be able to get it to work with pytivo.

    The debug log always shows the same following error. I'm running the most currently wmcbrine as of a few hours ago. Can someone help? Thanks.


    Code:
    2009-12-21 23:19:02,578 ERROR pyTivo: Exception during request from ('10.12.29.175', 2197)
    Traceback (most recent call last):
      File "C:\Python25\lib\SocketServer.py", line 464, in process_request_thread
        self.finish_request(request, client_address)
      File "C:\Python25\lib\SocketServer.py", line 254, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "C:\Program Files\pyTivo\httpserver.py", line 56, in __init__
        client_address, server)
      File "C:\Python25\lib\SocketServer.py", line 522, in __init__
        self.handle()
      File "C:\Python25\lib\BaseHTTPServer.py", line 316, in handle
        self.handle_one_request()
      File "C:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
        method()
      File "C:\Program Files\pyTivo\httpserver.py", line 82, in do_GET
        self.handle_query(query, tsn)
      File "C:\Program Files\pyTivo\httpserver.py", line 132, in handle_query
        method(self, query)
      File "C:\Program Files\pyTivo\plugins\video\video.py", line 256, in QueryContainer
        mtime = datetime.fromtimestamp(f.mdate)
    ValueError: timestamp out of range for platform localtime()/gmtime() function
     
  3. orangeboy

    orangeboy yes, I AM orangeboy!

    4,085
    0
    Apr 19, 2004
    East Moline, IL
    See this
     
  4. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Is there any way to queue up a bunch of transfers (from Tivo to PC) using pyTivo? I can't figure out how...
     
  5. AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Not with pyTivo, but there are three other solutions for that.
     
  6. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Should I try to guess?
     
  7. xyth

    xyth New Member

    9
    0
    Dec 19, 2009
    I wish I saw this sooner, I spent a dozen hours trying to get the latest version of Handbreak output a 5.1 audio track that would play on the Tivo HD. No combination of handbreak settings or codecs help. Too bad, its such a sweet program. The latest version of the mp4 standard allows for ac3 audio, and VLC will play a file so encoded, but media player nor quicktime will play it.

    Is the tivo desktop plus transcoder dependent on what quicktime will play in order to properly transcode back to the Tivo, or is that built in? The Tivo would play the video portion of the file fine, but no audio. Still not sure if the problem is how Handbreak passes the ac3 through in the creation of the MP4 or if it on the Tivo side of the decode.

    So any suggestions of a program that will properly encode an mp4 (H264) with ac3 passthru so that it can be pulled to a Tivo HD? Or would a handbreak encoded MP4 w/ ac3 file work if served by PyTivo?
     
  8. wmcbrine

    wmcbrine Ziphead

    10,401
    40
    Aug 2, 2003
    Eric von Bayer's fork does it. (I'm slowly working toward integrating that into mine... I like some things he did, dislike others, but it's basically all in one big patch.) But you might look at kmttg or other programs. I don't think TiVo -> PC is pyTivo's strong suit, or ever will be. I expect to add queuing, tivodecoding and metadata dumping, but that's all. (Maybe a generic post-processing command option?)
     
  9. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Queueing downloads would be huge. It's the only reason I even consider going to TD anymore.
     
  10. wmcbrine

    wmcbrine Ziphead

    10,401
    40
    Aug 2, 2003
    It's no reason to use TD. Again, look at kmttg.
     
  11. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Well, I'm trying kmttg, but it keeps failing on transferring a file, saying:
    "Warning: Transient problem: HTTP error Will retry in 4 seconds"

    Any thoughts?

    EDIT: NM, I had pyTivo downloading a file at the same time.

    So it seems to work okay, except that I had to manually put in my Tivo's, as it only detected one of them automatically.
     
  12. xyth

    xyth New Member

    9
    0
    Dec 19, 2009
    Nevermind, after experimenting more, I see that Streambaby will deliver the Handbreak v0.9.4 encoded mp4 (H264 + AC3 5.1) to a Tivo HD.
     
  13. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Update - okay, so kmttg works, but it's insanely and unacceptably slow! pyTivo direct downloads took about the same time as Tivo Desktop.

    When I use Tivo Desktop, I download a 2 hour movie in about 2 hours, give or take 30 minutes.

    Using kmttg, the same movie took almost 9 hours!!! What the heck?

    If it seriously takes this long for kmttg, I will be faster manually pulling one at a time. This is absurd. I recommend people stay away from kmttg, unless there's some setting I'm missing.
     
  14. jcthorne

    jcthorne Active Member

    2,769
    14
    Jan 28, 2002
    Houston
    PyTivo will PUSH an mp4 to Tivo as will Streambaby. Neither will allow tivo to PULL an mp4 without transcoding as that is not supported by the tivo. If the file you start with already has a properly encoded ac3 track, you can use handbrake to encode the video and pass through the audio, but it will not encode the audio if you have an AAC or other audio track to start with. I recommend MeGUI to prep mp4 files for tivo. It can handle most all input formats and both audio and video. Also allows adding boarders to 720p video so they display correctly on tivo. If you just need to remux, there are batch files posted here that do a fabulous job (search for orangeboy) very easily.
     
  15. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    A couple of additional questions:

    1) When I used kmttg to transcode to mp4, I used ff-h264-high. When transferring using pyTivo back to a Tivo HD, the size in "Info" says the orginal size (more than double the actual size), and it transcodes it on playback.

    2) What setting can I use to transcode a Tivo HD file to mp4, maintaining the HD and AC3, but not requiring transcoding when sending back to the Tivo?

    Thanks for any advice!
     
  16. jcthorne

    jcthorne Active Member

    2,769
    14
    Jan 28, 2002
    Houston
    Were you pushing or pulling with pytivo? The settings you used for kmttg should have been correct. you can only PUSH an mp4 to tivo, pulling will alwasys trascode and greatly increase the size in so doing.
     
  17. wmcbrine

    wmcbrine Ziphead

    10,401
    40
    Aug 2, 2003
    It shouldn't be... but anyway, please direct kmttg issues to the kmttg thread. I only brought it up here to suggest that there were alternatives to TiVo Desktop for downloading from TiVos, too. There are others besides kmttg as well. (I don't use them, so I won't go into them.)

    All of them take the same amount of time, normally.
     
  18. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Really? I was viewing from the NPL on the Tivo, and picked the MP4 file through the pyTivo entry.

    Back in the day, when I hit "Info", I'd get a detailed screen telling me the codecs, and whether it was going to be transcoded.

    Now, I got a file size that was not the size of the source file, no codec information, and no indication if it would be transcoded. Bummer.

    1) So is the file size displayed something pyTivo is estimating based on knowing it wil be transcoded?

    2) Am I mistaken in thinking that pyTivo didn't transcode mp4 files (of the right format) when grabbed from the Tivo NPL?

    3) If 2 is yes (I'm mistaken), is there any way to trigger a push from the Tivo?

    If not, there's little use in transcoding down to MP4. Disk space is cheap, and the inconvenience of the transcode (meaning way slower than real-time) makes it useless.
     
  19. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Okay, I'm trying to do a push, but it never seems to start. Can I do a push and a pull at the same time?

    That is, can I pull a file from a Tivo to the PC using pyTivo at the same time as pushing a file from the PC to the Tivo?
     
  20. jcthorne

    jcthorne Active Member

    2,769
    14
    Jan 28, 2002
    Houston
    Selecting the file from the NPL is PULLING the file from pytivo. It will always transcode to mpeg2 video, greatly expanding the file and increasing the transfer time more than 4x. You PUSH by selecting the video from the pytivo web menu.

    No, tivo will not pull and push a file at the same time. The tivo will queue the requests, or get confused and do nothing..... One or the other at a time.

    Streambaby can allow you to initiate a push from a HME menu on the tivo but I am not all that familur with it and do not use it. Would like to find a way to do this from pytivo but no one has come up with a way that would not be confusing to the user on the tivo.
     

Share This Page