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. Oct 23, 2007 #741 of 5684
    kunikos

    kunikos MOAR HD

    15
    0
    Jul 24, 2007
    Reno, NV
    I'm interested whether HD resolution content from the PC can be streamed to the S3 or HD TiVo now or not.

    Also, I've noticed that there seems to be a synchronization issue with the audio of streamed programs if you begin playback on the TiVo (S2) prior to finishing transfer from the PC.
     
  2. Oct 23, 2007 #742 of 5684
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Pony stated that TTCB HD is not supported at this time. :(
     
  3. Oct 23, 2007 #743 of 5684
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    I have 9.2 and will post my results on my Tivo HD later tanite:)
     
  4. Oct 23, 2007 #744 of 5684
    MickeS

    MickeS New Member

    25,884
    0
    Dec 26, 2002
    AZ
    9.2 and pyTiVo worked fine with my Series 3. Only SD content though. And the aspect ratio bug is still there (fix for it mentioned above, but still...). :(
     
  5. Oct 23, 2007 #745 of 5684
    neutral

    neutral New Member

    17
    0
    Jul 21, 2005
    I've installed pyTivo on NetBSD using python 2.4 and ffmpeg from pkgsrc.

    I can see the NPL, and some of the videos will transcode, albeit slow.

    A lot of the videos will error out,

    Unsupported codec


    What gives?

    edit: I should mention, these exact videos have no problem transcoiding on Tivo.Net
     
  6. Oct 23, 2007 #746 of 5684
    mattm29

    mattm29 Seattle TiVo stud!

    51
    0
    Aug 12, 2001
    seattle, wa
    any ideas on this error message?

    It's on Mac OS X ---

    Traceback (most recent call last):
    File "pyTivo.py", line 15, in ?
    settings.update(config.items(section))
    AttributeError: keys
     
  7. Oct 23, 2007 #747 of 5684
    CuriousMark

    CuriousMark Forum Denizen

    2,606
    0
    Jan 13, 2005
    SoCal
    the key "section" is not found in the Dictionary config.items
    Most likely the settings file has a missing group of data or a typo that is preventing the config object from getting all the information needed from the file. Look in the settings file and see if you see anything obviously wrong with it.
     
  8. Oct 23, 2007 #748 of 5684
    mattm29

    mattm29 Seattle TiVo stud!

    51
    0
    Aug 12, 2001
    seattle, wa
    Ok, so I trimmed down the configuration file to just this:

    [Server]
    port=9032
    ffmpeg=/opt/local/bin/ffmpeg
    [MyMovies]
    type=video
    path=/Users/mattseattle/TiVoShows

    and now when I do 'python pyTivo.py' it just sits there.

    grrrrr - any help is appreciated!
     
  9. Oct 23, 2007 #749 of 5684
    kangolo

    kangolo New Member

    23
    0
    Sep 13, 2002
    You need to be running under python 2.5, then launch using
    python2.5 pyTivo.py

    If you need to install python 2.5 there's an OS X installer available from http://www.python.org/download/
     
  10. Oct 23, 2007 #750 of 5684
    kangolo

    kangolo New Member

    23
    0
    Sep 13, 2002
    I'm running a newly enabled S3, with pyTivo running from a mac (under python 2.5, and ports-compiled lame & ffmpeg).

    Whenever I browse through the folders on my shares I see the same file each time.

    The first folder's contents I viewed appears on all subsequent folder views, whether the newly selected folder has files in there or not.
    This still happened even after stopping the download, and restarting pyTivo.

    I got it to reset by restarting the tivo, but it's doing the same thing (with a new file - against the first I viewed) after the restart.

    I checked the xml being returned (pasted the relative url into the browser) - and it isn't repeating the same file - it appears valid:

    Stuff that isn't in a folder (but has to be scrolled way down to get to) is fine.

    Any ideas? I think this may be tivo's end - unless pyTivo's folder responses need modification to identify them as unique.

    Update:

    It looks like the tivo is sending two requests, one for the new folder, followed immediately by a request for the initial folder (that it keeps re-showing).

    You can force it to update itself but viewing the detals of an entry and using the PageUp/Down keys.
    When you return to the folder's contents it will update with the correct contents.

    If you do this in an empty folder you're stuck, no way to -re-sync

    - Chris
     
  11. Oct 23, 2007 #751 of 5684
    dswartz

    dswartz New Member

    36
    0
    Oct 8, 2007
    Forgive me if this is an obvious booboo, but I can't see anything in the docs about it, so.. I got python 2.5.1 installed and I run it against the modified config and it just sits there (as another poster just observed.) If I surf to my linux box on port 9032, I see:

    This is a tivoPY server

    I went to my HDTIVO running 9.1 and it doesn't seem to see the pyTivo server. I've requested a 9.2 push, but not even sure if that's needed. There is a lot of confusion going around about what is necessary and such. Here is my config file:

    [Server]
    port=9032

    #Full path to ffmpeg including filename
    ffmpeg=/usr/bin/ffmpeg

    #This will make a large debug.txt file in you base directory. It only debugs
    #transcode.py right now.
    #debug=false

    # Audio bit-rate, default 192K
    #audio_br=192K

    # Video bit-rate, default 4096K
    #video_br=12Mi

    #Beacon broadcast address(es)
    #Typically use 255.255.255.255 but on some multihomed machines you may
    #need to specify the subnet broadcast address(es) of your Tivo boxes
    #beacon=255.255.255.255
    beacon=10.0.0.255

    #Output Pixel Width: if you have an HDTV you might want to try 720 or 704
    #Valid: 720, 704, 544, 480, 352
    #width=1440
    #height=720

    ##Per tivo options
    # section named _tivo_TSN with the tsn in all caps
    #[_tivo_2400000DEADBEEF]

    #If you want to use 16:9 or 4:3 on this tivo
    #aspect169=true

    [MyVideos]
    #Type can be either 'video' or 'music'
    type=video

    #Path is the full path to your files (No trailing slash needed)
    path="/home/dswartz/MyDocuments/My Videos"
     
  12. Oct 23, 2007 #752 of 5684
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Check your system info screen for a MAK key, just because you have 9.2 does not mean that you have the certificates for the MAK key, and double check your DVR preferences on your manage my account page on tivos site
     
  13. Oct 23, 2007 #753 of 5684
    dswartz

    dswartz New Member

    36
    0
    Oct 8, 2007
    Actually, I still only have 9.1. I did see PC:MyVideos on the NPL, but a weird internal error. Looking at the pyTivo log, I saw:

    OSError: [Errno 2] No such file or directory: '"/home/dswartz/MyDocuments/My Videos"'

    Wondering if the embedded space wreaked havoc? I'll rename the directory and check again...

    *** SOLVED! It wasn't spaces in the pathname. I outsmarted myself and put the pathname in double quotes, and that threw it off. I'm transferring an episode of SG:Atlantis even now :)
     
  14. Oct 23, 2007 #754 of 5684
    mattm29

    mattm29 Seattle TiVo stud!

    51
    0
    Aug 12, 2001
    seattle, wa
    Thanks for the tip but my original install of python was 2.5.1. I relaunched the way you described and it's just sitting there.

    iMac:/Applications/pyTivo mattseattle$ python2.5 pyTivo.py

    any other ideas?
     
  15. Oct 23, 2007 #755 of 5684
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    I have 9.2 and I can see my PyTivo shares but when I click on them to browse I get an error, the Movie PC can not be contacted because of an unknown error. GRRRR, forgive me for my stupididty but can I have Tivo Desktop and Pytivo on the same machine running?
     
  16. Oct 24, 2007 #756 of 5684
    Hi8

    Hi8 TiVoPro - wanabe!

    192
    0
    Mar 6, 2002
    I just setup pyTiVo last night.

    I've been playing around with TiVo for about 4 years now and can't get enough of what it can do.

    Thanks for this GREAT APP.

    My problem is that I installed the server instead of launching pyTiVo.py 's command window. It would show up in the now playing list, but if I selected it it would show no shows and then when I went back to now showing it would no longer be there.

    Nothing I tried made any difference. I stopped the service, and launched the pyTiVo.py app, and it works fine.

    I would really like to use the server, I tried reading through this thread but could seem to fine a fix.

    I'm running version 182
     
  17. Oct 24, 2007 #757 of 5684
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    I have had this problem before as well, one thing I found that was my problem was every time I edited the .conf file the service was running so it would never save my changes and point the app to the correct dir with the files. Be sure to have your pytivo shut down, edit the conf file, then restart the app, sometimes rebooting the tivo helps as well.
     
  18. Oct 24, 2007 #758 of 5684
    buffalova

    buffalova New Member

    30
    0
    Jul 7, 2006
    Yes both work together.
     
  19. Oct 24, 2007 #759 of 5684
    kangolo

    kangolo New Member

    23
    0
    Sep 13, 2002
    What kind of transfer times are you guys seeing with transcoding from divx?

    My aging G4 Mac Mini is managing 3-6fps at width=720.

    I can throw an old P4 2.x GHz machine at it instead, but would like to know what I should expect in terms of transfer times before I do.

    Thanks,
    Chris
     
  20. Oct 24, 2007 #760 of 5684
    cwbaker

    cwbaker New Member

    55
    0
    Aug 5, 2002
    I've install pyTivo according to the instructions but can't seem to get it to work. All I get when I run it is a black DOS box with no messages in it. My stripped down configuration file looks like:

    [Server]
    port=9032
    ffmpeg=c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
    [MyMovies]
    type=video
    path=c:\movies

    - Any ideas on what could be wrong, or troubleshooting hints?
    - What am I supposed to see on my PC and on the Tivo?
    - is there something that is supposed to be in the log file? it is zero bytes

    TivoDesktop works fine - I have my computer icon in the NPL and I can move programs back and forth. I assume both of them can run at the same time.

    Thanks.
     

Share This Page