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

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Photos question - the listing shows up in HME, the directories all show up and are navigatable, but all the pictures show up with broken icons.

    Any ideas?

    It works fine through TD.
     
  2. jcthorne

    jcthorne Active Member

    2,720
    2
    Jan 28, 2002
    Houston
    sounds like you are missing the python photo extension. Do a search, wmcbrine has a link to it in his install instructions.
     
  3. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    *bonk* Okay, installed it... still doesn't work, but I can't reset pyTivo right now as I'm transferring a video. I assume it will need a reset?
     
  4. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
  5. Hcour

    Hcour Member

    867
    11
    Dec 24, 2007
    I installed pyTivo using the Windows installer. I copied my config file to another folder. Then I dl'ed the latest ver and unzipped it into the pyTivo folder, then copied my old config file back. Now I can still pull files fine but when I push they're all messed up. Do I need to install the latest ver of ffmpeg, as per this thread?

    http://pytivo.sourceforge.net/forum/updated-windows-installer-2009-03-21-t512-30.html#7536

    It says to copy it to the bin folder, but I don't have one. ffmpeg_mp2.exe is in plugins/video folder, and that's the folder my config file points to.

    Also, I can't find the ffmpeg sticky thread referred to in that thread.
     
  6. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Define "all messed up".

    But if you're seeing a difference between pushed and pulled, then most likely the problem is precisely that ffmpeg isn't involved -- that the files appear pushable to pyTivo, but the TiVo doesn't like them.
     
  7. Hcour

    Hcour Member

    867
    11
    Dec 24, 2007
    The video is all noise, just lines and colors and such. It's the same files that played fine when I pushed them before I updated pyTivo and they play fine now when I pull them.
     
  8. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Did you configure kmttg to convert to MP4 after downloading? If so then it's encoding MPEG2 video to h264 video and that can take a long, long time. You should be able to set it just to download.
     
  9. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Already discussed in the previous few posts. No, I didn't. Also, that would show multiple items queued up in the middle of the window.

    No transcoding, just the .Tivo file downloaded.

    I can do it quicker manually doing one at a time through pyTivo.
     
  10. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Then presumably they were being transcoded during push before, and now aren't. (pyTivo didn't always do native pushes of MP4.)

    If you're looking for a way to keep pushing them, you could try forcing transcoding via metadata overrides.
     
  11. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Okay, I've moved on to installing pyTivo on my QNAP NAS. It seems to be working well, but I can't get photos working on it.

    I've done an ipkg install of the py25-pil, but it put it in /opt. So I did a symbolic link from the .qpkg directory to the site-packages/PIL. But alas, still not working.

    1) Any ideas on how to get this working on a QNAP? It's running Python 2.5 on Ubuntu.

    2) What's a graceful way to shutdown pyTivo, if it's running in the background?

    Thanks!
     
  12. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    If it's Ubuntu, wouldn't it be "apt-get install python-imaging"?

    Try "kill -2 pid". That should be equivalent to pressing ^C in the console, which (perversely enough) is the orderly shutdown method.
     
  13. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Well, apt-get isn't on the QNAP. I can do iPkg, which I did, but I think all the files for PIL are in the wrong place (since the python was installed with QPKG).

    So do you know where the files should go? Is there some sort of directory map of the PIL files and their location?
     
  14. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Then, I don't think you're running Ubuntu. (I googled "ipkg" and found a reference to "Unslung" as the relevant distro. Might it be that?)

    Well, it has to be in the path Python searches for modules. You can find out what that is by starting Python, and doing "import sys", then "sys.path".

    On my system, it's in /usr/share/pyshared/PIL , with symbolic links to there from /usr/lib/python2.5/site-packages/PIL . The latter is in my sys.path.
     
  15. AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Code:
    [/opt] # cat /proc/version
    Linux version 2.6.30.6 (root@NasX86-3) (gcc version 4.1.3 20070929 (prerelease)
    (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sat Dec 12 04:16:28 CST 2009
    Okay, I added the PIL symlink to the path, but photos still isn't working (I did a full restart of pyTivo).

    Is there something else that needs to be accessible to python/pyTivo for this to work? I noticed a few .py files that also came down with the PIL install.
     
  16. jkalnin

    jkalnin Baad Spellor

    1,420
    0
    Jan 8, 2003
    Warrington, PA
    Quick, hopefully simple, question:
    Is there way to setup pyTivo to deinterlace an avi file?
     
  17. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    You can specify additional ffmpeg options, which could include "-deinterlace", I guess. But I can't see why you'd want to do that. The TV should handle it.
     
  18. Jan 1, 2010 #2678 of 5683
    lex3001

    lex3001 New Member

    54
    0
    Feb 13, 2005
    Thank you for working on this awesome program.

    I have a couple of suggestions for features:
    1. If you try and "Send to Tivo" but the tivo_username/pass settings don't exit, throw up a message that says that they exist and should be added. I'd never heard of them until about 3 hours ago.
    2. If anything goes wrong in video_info trying to execute ffmpeg.exe, please put in some kind of message about that. I spent the last two hours googling obscure keywords to figure out (1) that I needed to change the path to ffmpeg in the conf file and then, another hour later, that (2) I needed to put the ffmpeg.exe in that setting and not just the path.

    It seems that a few other people have run into the same issues, so think of the all the extra sleep people will be getting once it is more user friendly ;-)

    Now I'm closer to getting kmttg and pytivo to transfer all my son's tv shows from our series 2 to our series 3 automatically... I hope.
     
  19. Jan 1, 2010 #2679 of 5683
    lex3001

    lex3001 New Member

    54
    0
    Feb 13, 2005
    Ok, now I'm stuck again. I'm seeing a 206 http code in the console from pyTiVo as a response to the TiVo requesting the file. On the TiVo, the file is created and the metadata is there but it is "done" transferring with 0 minutes.

    Background:
    I used kmttg to download a couple .TiVo files from my series 2 to the computer and now I'm trying to send those to the TiVo HD. I don't want to transcode them or anything. Both TiVos have the same MAK address.

    Is there anything else I need to configure or do?

    Thanks in advance...
     
  20. Jan 1, 2010 #2680 of 5683
    AbMagFab

    AbMagFab What happened, TiVo?

    3,638
    0
    Feb 5, 2001
    Any ideas? Or do you know any way to test to see if PIL is present, and/or what it's missing?
     

Share This Page