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. May 9, 2010 #2801 of 5687
    pmiranda

    pmiranda New Member

    669
    0
    Feb 12, 2003
    Austin, TX
    Notwithstanding lrhorer's well known propensity for verbosity and debate beyond that of any normal person, is there an up to date FAQ on PyTiVo somewhere that says what it can do now? I don't have time to wade through all this ust to find out if you can send mp4 directly to an S3 without using push. Not that I ever got to learn how the push interface worked, either.
     
  2. May 9, 2010 #2802 of 5687
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Maybe here? http://pytivo.sourceforge.net/wiki/index.php/PyTivo

    But to answer your question about mp4 to TiVo without push: No, pull will transcode to mpeg2 (source).

    What I think would be very awesome is if bkdtv would write technical docs on pyTivo, kmttg, Harmonium, etc... He seems to have quite a knack for creating excellent write ups, and that would allow the developers to continue developing, and not have them be too concerned with elaborate documenting.
     
  3. May 9, 2010 #2803 of 5687
    fyodor

    fyodor Member

    523
    0
    Sep 19, 2006
    If you're using an NTFS formatted hard drive you can use the mklink command to create symbolic links in directories. So you create a "videos" directory and put symbolic links in it to your different folders. Then you make the "videos" directory a pytivo share and all of your linked folders show up as subfolders of that share.

    http://en.wikipedia.org/wiki/NTFS_symbolic_link
     
  4. May 9, 2010 #2804 of 5687
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Looks like I only had it temporarily working. I fired up the console again today running it as administrator and it shows the share name except it is empty. In the console window it says windows can't find the path.

    WindowsError: [Error 3] The system cannot find the path specified: u'V:\\TV Shows'

    Now maybe something changed because I did extract the new update over my folder and maybe something got overwritten that shouldn't have?
     
  5. May 9, 2010 #2805 of 5687
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    It seems I've had trouble in the past using mapped network drives, and switched to using UNC format. I keep most of my HD movies on a remote machine, and TV series local...
     
  6. May 9, 2010 #2806 of 5687
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    This is when I start to hate Win 7 since I haven't delved deep into it.

    Ok changing it to UNC works again under console, but still no go on the service. Thanks for that suggestion.

    EDIT: OK I think I got it working now as a service. It looks like there is an issue with using the last version of the windows installer with windows 7 based off this thread. Once I copied my pytivo.conf file back to users/public/public documents/pytivo it worked. Now hopefully it stays that way.
     
  7. chemosh6969

    chemosh6969 New Member

    12
    0
    Jan 6, 2007
    Is there a setting I can change so if the video file has a subtitles file, it'll add subs?
     
  8. Spenner

    Spenner Member

    88
    1
    Mar 28, 2006
    No. FFMPEG (what pytivo uses to transcode video) doesn't have that capability. Whenever I've needed to do that (i.e. Avatar) I've used MKV2VOB.
     
  9. chemosh6969

    chemosh6969 New Member

    12
    0
    Jan 6, 2007
    Found some directions for what I wanted(and cleaned them up). Just tested it and it works perfect.

    Install AviSynth so you have vsfilter.dll

    Make a file called something.avs and put it in one of the folders you use to stream. Inside the file, which I saved as WagesofFear-subs.avs

    Code:
    loadplugin("C:\Program Files\Combined Community Codec Pack\Filters\vsfilter.dll")
    DirectShowSource("P:\Movies\Wages Of Fear (1953).avi",convertfps=true)
    TextSub("P:\Movies\Wages Of Fear (1953).srt")
    In the first line, point it to the vsfilter.dll file
    Second line is the path to the movie
    Third is the path to the subs.

    If you're going to use a .sub or .idx file, replace TextSub with vobsub
     
  10. orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    This might be an odd question, but how do I not publish pyTivo's containers/shares on the TiVo DVR? I'm converting all my videos to h264/ac3/mp4, and I'm interested only in the push aspect. I don't want to delete the containers from pytivo.conf because I still need them for push. I'm thinking beacon.py is the answer, but there too, I think it's needed to know where to push to.

    Any insights?
     
  11. wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    You can do it through your pyTivo.conf. For each TiVo that you don't want to see the shares, add a section named "_tivo_" plus the TSN, with the line "shares =". Example:

    Code:
    [_tivo_648000101234567]
    shares =
    (If you want to suppress the warning about Zeroconf being disabled, you can also add the line "zeroconf = False" to the Server section.) The TiVos should still be seen by pyTivo, when they make requests in response to the old-style beacons it sends.
     
  12. loganasu

    loganasu I'm a lurker

    286
    0
    Jan 17, 2005
    Ok... I'm confused. I have a HD Tivo where I have downloaded the video to the PC. I am now trying to use pyTivo to get the video to the Series 2 Tivo and I'm not getting it to work.

    Can someone please point me in some direction that will resolve my confusion?
    Any assistance would be greatly appreciated.
     
  13. Jun 1, 2010 #2813 of 5687
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Sorry, but "not getting it to work" is too vague a complaint to advise you. However, I can say that if you're trying to transfer HD (or upconverted) .TiVo videos to the S2, you'll need to have tivodecode present, and your MAK set, so that pyTivo can decrypt them (and then reencode them to SD).
     
  14. Jun 1, 2010 #2814 of 5687
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Sweet! This should keep the temptation of pulling (and unnecessarily transcoding) from occurring.

    However, it does make me want to dig into your code to see if I can bastardize it a bit to have a list presented on the TiVo(s), as it does now, but have an additional option to push, perhaps by using curl.exe with popen(), and passing tsn, container and file(?) back to the pyTivo server using "Command=Push". I would think all of those variables would/should be present at the time... :D

    Edit: Unless that's not possible due to the differences in HME vs. HMO?
     
  15. Jun 1, 2010 #2815 of 5687
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    There would be no earthly reason to use curl. Anyway, if that's the behavior you want, then just use Streambaby. (And no, you can't just add options to the menu in HMO. You could implement what you want in other ways, but you're looking at either HME, or an ugly kludge.)
     
  16. Jun 1, 2010 #2816 of 5687
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    When your only tool is a hammer, every problem looks like a nail... :D:eek::(
     
  17. Jun 1, 2010 #2817 of 5687
    loganasu

    loganasu I'm a lurker

    286
    0
    Jan 17, 2005
    Sorry about that. It's what I get for posting after a long weekend camping.

    When transferring to the S2, it only uploads a split second and the stops uploading.

    is the tivodecode something that needs to be downloaded separate from pyTivo?
     
  18. Jun 1, 2010 #2818 of 5687
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    I guess I should back up and ask you how you installed pyTivo. Hopefully not with the broken, ancient "Windows Installer". That version won't transfer .TiVo files at all. But it might come with tivodecode... I'm not sure. If not, you can get it here, among other places. Remember, you also have to set your tivo_mak in the Server section of pyTivo.conf for tivodecode to work.
     
  19. Jun 2, 2010 #2819 of 5687
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    I finally got around to altering pytivo.conf, but the above code actually enforces the opposite of what I want. From the pyTivo shares help section:

    Code:
    shares
    
    Default Setting: Blank, which is equivalent to allow [B][I][U]all shares[/U][/I][/B] on this TiVo.
     
  20. Jun 2, 2010 #2820 of 5687
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    No, it doesn't, unless you're using a version from before January 28th.

    I'll try to update the documentation.
     

Share This Page