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

    sed156 New Member

    Feb 19, 2008
  2. kas25

    kas25 New Member

    Mar 10, 2003
    I'll stick with Apple TV for now. Thanks.
  3. BiloxiGeek

    BiloxiGeek Reality Challenged

    Nov 18, 2001
    Just posted this as a enhancement request on pytivo.armoo.net and I thought I'd float the idea here as well.

    Is it possible to sent an icon to be used in the Now Playing List when you're browsing pyTivo shares? Having a unique icon for any pyTivo share would let them stand out from TiVo Desktop shares.

    If you could actually define the icon in the pyTivo.conf individually for each share it'd be even slicker.
  4. MasterCephus

    MasterCephus New Member

    Jan 2, 2005
    ^ I don't think that's possible...I think those icons comes from Tivo, not pyTivo.
  5. jkalnin

    jkalnin Baad Spellor

    Jan 8, 2003
    Warrington, PA
    Seems like pyTivo hates me, as it is causing me nothing but problems. My latest issue is that the file (a dvd vob renamed to .mpg) transfers over fine, and plays fine. However, once the transfer is complete the file disappears from my now playing list. Is there a way to see a log or get some info as to why the file is gone once the transfer is complete? I could do more tests to see what happens if I am playing the video when the transfer completes, but I am sick and need to go to bed. :(

  6. BiloxiGeek

    BiloxiGeek Reality Challenged

    Nov 18, 2001
    Found this on sourceforge http://tivohme.sourceforge.net/docs/hmesdk/03_Running.html:

    If pyTivo works like an HME application this might work. If it's just simulating a TiVo Desktop or another TiVo on the local network than probably not.
  7. wmcbrine

    wmcbrine Ziphead

    Aug 2, 2003
    pyTivo does NOT work like an HME application. pyTivo is an HMO server. There is no way I know of to set an icon for shares in the Now Playing list.

    There IS a way, in principle, to set custom icons for the programs within shares, but I haven't explored it.
  8. zoma4

    zoma4 New Member

    Jul 20, 2004
    Alpharetta, GA
    I apologize in advance if this is a repeat of something previously discussed, however I did some searching (both here and on the py-TiVo forums) and didn't really get an answer I am satisfied with. I'll readily admit that I have not fully read all 64 pages of this thread.

    Anyhow, I am a py-TiVo newbie. I had been using Videora and TivoDesktop but recently decided to give py-TiVo a shot. My question has to do with the conversion settings. I have a TivoHD and a 720p Samsung tv. Whenever I transfer an xvid file to the Tivo, I usually end up with 4 bars around the side of the screen. These are all WS dvdrips, but unfortunately the resolution varies.

    What py-Tivo settings should I be using to maximize my viewing experience?

    What about for 720p mkv files? 1080i/p mkvs? Do I need to have separate settings based on my input files?

    Again, sorry if this has already been answered, but I'm confused.

    Also, a little off topic from py-Tivo, but still related -- I was under the impression that TiVoDesktop Plus 2.6 would support transferring HD Video to the box, however the DVD rips (not HD resolution, I know) still show up boxed on all 4 sides.

    Essentially, I am trying to find a solution that will scale the video so that the will only be letterboxing when it is converted to mpeg2 for the TiVo and not degrade any quality to 480i levels.
  9. Kershek

    Kershek Member

    Oct 10, 2002
    Mesa, AZ
    zoma4, I'm not sure how to answer your question, but have you tried the zoom function of the TiVoHD or your TV to fill the screen with the video?
  10. PaulS

    PaulS Member

    Sep 16, 2002
    Southern NH
    zoma -

    If you're using a recent vintage of pyTivo, the default settings should get you what you want.

    The default configuration of pyTivo will not scale videos that are less than 1280x720 in resolution. If the video uses a codec other than MPEG-2, it will transcode the video to MPEG-2 but will leave the original resolution intact. Videos that are greater than 1280x720 will be downscaled to 1280x720 to conserve on filesize and CPU utilization. These are merely the defaults, and may be over-ridden to whatever you'd like.

    The TiVoHD and Series3 can apparently handle just about any MPEG-2 content thrown at it, so this makes pyTivo's job much easier. This is why pyTivo doesn't scale everything to a specific resolution. It doesn't need to.

    MKV present a special challenge for pyTivo, in that ffmpeg (the transcoding engine used by pyTivo) has a hard time with the audio in MKV files. Specifically, audio/video sync may drift quite a bit (I've seen 5+ seconds), and channels may be re-mapped (everything ends up in the front-right channel). This is a short-coming of ffmpeg, and efforts have been made to work around those issues.

    Keep in mind that transcoding/scaling can NOT improve upon video quality. 480i sources will ALWAYS look worse than HD sources. You can not add resolution to sources. The best you can hope to achieve is to not degrade the 480i too much.
  11. zoma4

    zoma4 New Member

    Jul 20, 2004
    Alpharetta, GA
    Yeah, that's my workaround for the moment, but I was trying to figure out if there was a way to have it scale on encoding rather than zoom during playback.
  12. bholzm1

    bholzm1 New Member

    Aug 7, 2003
    Looking at the patch, it looks like one could set the PAR to .741 (800.0/1080.0), but this would scale any file globally that doesn't report a PAR. I think it only makes sense to use the video's native resolution sans padding when the video vertical AND horizontal res are smaller than the tivo, or precisely equal to both. That should solve kershek's problem and possibly zoma4's as well.
  13. zoma4

    zoma4 New Member

    Jul 20, 2004
    Alpharetta, GA
    Thanks for this response. I am pretty close to getting things how I'd like them now.
  14. Apr 5, 2008 #1914 of 5856

    danitaz New Member

    Oct 15, 2005
    I would swear I had pyTivo working on my MAC, and I was able to upload a video from my Mac to my Tivo S3. But today I started up pyTivo again, and when I try to send a file to my Tivo I get:

    Exception happened during processing of request from ('', 53508)
    Traceback (most recent call last):
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
    File "/Users/danita/pyTivo/httpserver.py", line 85, in do_GET
    method(self, query)
    File "/Users/danita/pyTivo/plugins/video/video.py", line 460, in Push
    password = config.getTivoPassword()
    File "/Users/danita/pyTivo/config.py", line 31, in getTivoPassword
    return config.get('Server', 'tivo_password')
    File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ConfigParser.py", line 520, in get
    raise NoOptionError(option, section)
    NoOptionError: No option 'tivo_password' in section: 'Server'

    I know the password is correct . . . .

    Any ideas?


  15. Apr 5, 2008 #1915 of 5856

    danitaz New Member

    Oct 15, 2005

    And I did - I was just going the "opposite" direction before. I.e., I see the "My Movies" on the Tivo and tell it to download. This time for some reason I was trying to go the opposite direction from the web browser. I think that "should" work too - but it works from the other way.

  16. Apr 5, 2008 #1916 of 5856

    thczv New Member

    Dec 20, 2001
    Sacramento, CA
    I have been looking for a foolproof way to store my 1080 mpg2 video in a more compressed format. Right now I am trying to use Windows Media Encoder to make 720 VC-1 WMV files. So far it looks like it will work fairly well. However, pyTivo won't transfer my first test file. In the pyTivo log, I get this message over and over (incremented by several seconds each time): - - [05/Apr/2008 15:46:52] "GET /Thczv/Liam%20Finn%20(Letterman)-1.wmv HTTP/1.1" 200 -
    ['h:\\Program Files\\pyTivo\\plugins\\video\\ffmpeg_mp2.exe', '-i', 'g:\\Video\\Liam Finn (Letterman)-1.wmv', '-vcodec', 'mpeg2video', '-r', '29.97', '-b', '8192k', '-maxrate', '17408k', '-bufsize', '1024k', '-comment', 'pyTivo.py', '-ab', '384k', '-ar', '48000', '-acodec', 'ac3', '-f', 'vob', '-']

    It doesn't give an error. On the Tivo, it looks like the file is trying to transfer, but it never gets enough video to start. Eventually, my Tivo kills the transfer, and the To Do list says the transfer was cancelled either because the file was bigger than expected, or because the file was corrupted.

    Any ideas? I thought pyTivo had no problem with wmv files. I even thought ffmpeg could handle VC-1 now.

  17. Apr 6, 2008 #1917 of 5856

    armooo pyTivo Developer

    Feb 1, 2003
    It looks like you are trying to push a file from the web interface. You will need to have your tivo.com username and password in the server section of the pyTivo.conf file.

    It should be something like this.
  18. Apr 6, 2008 #1918 of 5856

    fred2 Member

    Jan 20, 2006
    I am not having any luck trying to copy or move MKV files to my tivo. Any suggestions or ideas. I guess I also am having problems trying to convert them to something more traditional avi) to get them to the tivo.
  19. Apr 6, 2008 #1919 of 5856
    cherry ghost

    cherry ghost Well-Known Member

    Sep 13, 2005
    use TiVo.net
  20. Apr 6, 2008 #1920 of 5856

    PaulS Member

    Sep 16, 2002
    Southern NH
    As far as I know, tivo.net and pyTivo both use ffmpeg as a transcode engine. The problems that pyTivo has with MKV files are specific to ffmpeg, so I can't see how suggesting tivo.net would fix the problem. That is, unless tivo.net has found a way to circumvent ffmpeg's shortcomings...

Share This Page