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

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    This is the last SVN version. They introduced a GIT repository and are probably a couple hundred revisions past this one.

    Unless the user is familiar with compiling their own FFmpeg executable and has a specific issue with Rdian06's versions I recommend sticking with the latest versions he has posted on the pyTivo forum.
     
  2. jbernardis

    jbernardis New Member

    1,072
    0
    Oct 21, 2003
    Princeton NJ
    Yeah - I downloaded the code so I could study it, but it's low on the priority list.
     
  3. caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    No I am familiar with compiling can not even start to. I am not having problems just wanted the latest version. I'll be sticking to the svn version for now
     
  4. jackny

    jackny New Member

    10
    0
    Sep 8, 2005
    New to pytivo......everything works great except have been unable to transfer .avi files from my PC to my series 2 tivos......is there a quick fix I that I can add the the config file....thanks for any help
     
  5. wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    That's not enough info to diagnose your problem.

    Does that mean it does work with your Series 3/4 TiVos? Or just that you only have Series 2?

    What happens when you try? Or do they not even show up in the listing?

    What exactly does work? .MPG files?
     
  6. jackny

    jackny New Member

    10
    0
    Sep 8, 2005
    Pytivo is installed on two(2) Windows XP PCs'; have two(2) Tivo machines (1 Series-2 Dual Tuner and a Series-2 single tuner). All files show-up in the NPL of both machines and all files with extensions .mkv, .mpg, .divx, .flv,
    .m4v, .mov, .wmv, and .tivo transfer without problems to both tivo machines.
    All of the .avi files showup in the NPLs but only 2 out of 10 on the computers do transfer sucessly; the non-transferring .avi files appear to not start the transfer at all.....
     
  7. Welshdog

    Welshdog Tivo this, punk!

    310
    0
    Jan 3, 2005
    Austin, TX
    Same question for ffmpegx and associated files. I updated the ffmpegx app, but the mencoder etc. files are all really old. I did some searching and it seems they have not been updated recently. Is that right?
     
  8. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    If you are on OS X you can install MacPorts and then use the Terminal app to install FFmpeg-devel which is the easiest way you will get something relatively new on OS X without manual compilation.

    Terminal commands to install ffmpeg-devel after you download Macports.

    1. sudo port selfupdate
    2. sudo port install ffmpeg-devel

    You then have to point your pyTivo.conf file to the correct location of your new ffmpeg which will be "/opt/local/bin/ffmpeg"
     
  9. dlfl

    dlfl Cranky old novice

    6,991
    16
    Jul 6, 2006
    Near...
    See this post. I had a .flv file that would not transfer correctly using the rdian build and the latest archived version of ffmpeg (see linked post) solved the problem.
     
  10. rrr22777

    rrr22777 New Member

    532
    0
    Jul 31, 2002
    Does pyTivo or another plugin for it provide ability to view photos in HD? Having migrated pyTivo and streambaby to my linux computer Tivo Desktop is still running on Windows for the HD Photos. Would like to replace it.

    EDIT: I see the answer in http://www.tivocommunity.com/tivo-vb/showthread.php?p=7346929#post7346929. Any tips on "You can run TiVo's "HD Photos" HME app with pyTivo as the backend instead of TiVo Desktop" much appreciated.
     
  11. sirfergy

    sirfergy New Member

    288
    0
    May 18, 2002
    Where can I delete the pytivo queue cache? It seems to always hang trying to transfer a video and restarting both the service and my TiVos doesn't stop it from trying to re-run the transfer again.
     
  12. orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Not really possible via pyTivo. The request sent by pyTivo to the TiVo servers have already been accepted. That's why cycling the pyTivo service had no effect.

    However, all is not lost! You can rename the file that gets stuck, so when the TiVo Servers attempt to send the file, it can't be found, and the request will eventually time-out.
     
  13. sirfergy

    sirfergy New Member

    288
    0
    May 18, 2002
    Yeah, I was about to post back saying I realized that! Now I just need to figure out why the file just hangs when trying to stream.
     
  14. jcncamsdad

    jcncamsdad New Member

    5
    0
    May 1, 2009
    I have a S2 and S3 and I have not been able to load movies. I have change the FFMpeg file and now I am using the latest version. Here is a copy of my Console Log:


    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:45] "GET /TiVoConnect?Command=Query
    Formats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:48] "GET /TiVoConnect?Command=Query
    Container&Container=The%20Movie%20House&SortOrder=!CaptureDate&ItemCount=1&Ancho
    rItem=%2FThe%2520Movie%2520House%2FThe.Princess.and.the.Frog.2009.DVDrip.XviD.av
    i&AnchorOffset=-1&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolde
    r,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:48] "GET /TiVoConnect?Command=TVBus
    Query&Container=The%20Movie%20House&File=%2FThe.Princess.and.the.Frog.2009.DVDri
    p.XviD.avi HTTP/1.1" 200 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:52] "GET /TiVoConnect?Command=Query
    Formats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:52] "GET /TiVoConnect?Command=Query
    Item&Url=http%3A%2F%2Fa%2Fb%3FContainer%3D%2FNowPlaying%26id%3D%2FThe%2520Movie%
    2520House%2FThe.Princess.and.the.Frog.2009.DVDrip.XviD.avi HTTP/1.1" 404 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:58:56] "GET /The%20Movie%20House/The.P
    rincess.and.the.Frog.2009.DVDrip.XviD.avi HTTP/1.1" 206 -
    INFO:pyTivo.video.video:[29/Mar/2011 09:58:56] Start sending "O:\The Movie House
    \The.Princess.and.the.Frog.2009.DVDrip.XviD.avi" to Mac Daddy
    FFmpeg version git-N-28671-gf8b0cd8-Sherpya, Copyright (c) 2000-2011 the FFmpeg
    developers
    built on Mar 27 2011 07:24:33 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
    libavutil 50. 40. 0 / 50. 40. 0
    libavcodec 52.115. 0 / 52.115. 0
    libavformat 52.103. 0 / 52.103. 0
    libavdevice 52. 3. 0 / 52. 3. 0
    libavfilter 1. 76. 0 / 1. 76. 0
    libswscale 0. 13. 0 / 0. 13. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, avi, from 'O:\The Movie House\The.Princess.and.the.Frog.2009.DVDrip.Xv
    iD.avi':
    Duration: 01:37:29.67, start: 0.000000, bitrate: 2065 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x400 [PAR 1:1 DAR 9:5], 23.98 tbr, 23
    .98 tbn, 23.98 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Option 'padtop' has been removed, use the pad filter instead
    F:\pyTivo\bin\ffmpeg.exe: failed to set value '2' for option 'padtop'
    INFO:pyTivo.video.video:[29/Mar/2011 09:58:57] Done sending "O:\The Movie House\
    The.Princess.and.the.Frog.2009.DVDrip.XviD.avi" to Mac Daddy, 0 bytes, 0.00 Mb/s

    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:59:10] "GET /TiVoConnect?Command=Query
    Formats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.1.222 [29/Mar/2011 09:59:10] "GET /TiVoConnect?Command=Query
    Container&Container=The%20Movie%20House&SortOrder=!CaptureDate&ItemCount=8&Ancho
    rItem=%2FThe%2520Movie%2520House%2FThe.Princess.and.the.Frog.2009.DVDrip.XviD.av
    i&AnchorOffset=-8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolde
    r,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -


    Any help would be appreciated.

    Thanks
     
  15. orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    The above seems to indicate an "options" change with ffmpeg.

    Either your ffmpeg will need to change back to a release that supports 'padtop', or pyTivo will need to be updated to use the new ffmpeg options. I imagine the latter taking much more time to do, considering the logic it would take to determine which version of ffmpeg is in use.
     
  16. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Yea this is documented on pyTivo's forum last year. No fix was worked up but it seems to only affect Series 2 models which require the video to be padded to maintain aspect ratio.

    Unless you can hack up pyTivo to change the commands I would recommend staying with an FFmpeg SVN older than 23054
     
  17. jcncamsdad

    jcncamsdad New Member

    5
    0
    May 1, 2009
    @Orangeboy
    @Iluvatar

    Thanks for your quick response/fix!
     
  18. NatasNJ

    NatasNJ Bone marrow lover!

    11,555
    3
    Jan 7, 2002
    Philly
    I installed and had pyTivo running for months on end with no problems. Well tonight I went into my list and no longer see the WHS icon. Both my TivoHD's don't see it they BOTH however see the HP WHS EX495 Server which is where my WHS pytivo videos are housed.

    So I don't think it is a connection (wifi) issue since I can see and access the EX495.

    I tried rebooting the TIVO. No luck.

    I tried logging into the EX495 and stopping/starting the Pytivo service. No luck.

    I tried resetting my router. No luck.

    Here is what the pytivo Console states:
    Here is the pytivo console dump.

    Checking to see if pyTivo is already running . . .

    Starting pyTivo Server. Use ctrl+Break to exit.

    Traceback (most recent call last):
    File "C:\Program Files\pyTivo\pyTivo.py", line 3, in <module>
    import logging
    File "C:\Python26\lib\logging\__init__.py", line 43, in <module>
    import threading
    File "C:\Python26\lib\threading.py", line 16, in <module>
    from collections import deque
    ValueError: bad marshal data

    pyTivo Server is Stopped.

    Press any key to continue . . .

    The only thing I can think of that caused this was the night before we had several power dips in my house but this seems to be the only thing effected.

    Thoughts?
     
  19. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006

    Go to the Python directory and find the files stated in your console and delete the .pyc files for the 2 listed files (threading and __init__). Then restart pyTivo. It has something to do with a faulty cache compile when creating the .pyc files.
     
  20. NatasNJ

    NatasNJ Bone marrow lover!

    11,555
    3
    Jan 7, 2002
    Philly
    Thanks. Will try this tonight and report back.
     

Share This Page