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

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    What is your network setup? Do most files transfer OK? Is your transfer speed greater than real time?
    Does the problem file have a glitch at the same place when played in a software player?

    I would try rebooting the TiVo again -- only takes a few minutes.

    Run pyTivo as a program and turn the debug config item on while you transfer the problem file.

    In the past I've had this same kind of problem as have others. The pyTivo version and the TiVo software version can both impact it, unfortunately not in any predictable way AFAIK. Version 208 is getting a little old now -- you might want to try the latest version. Although most of the bug fixes since 208 have affected Windows versions only.
     
  2. joe2748

    joe2748 New Member

    3
    0
    Dec 18, 2007
    Network setup is a router with a couple node machines and the tivo.
    Files used to transfer faster than real time, and didn't have any problems until this.

    Now nothing can transfer, because they all get put on the to do list.
    I will reboot the tivo and run pytivo as a program in 20 min, I'm watching a show right now.
     
  3. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    Examples of Movie-XML interface - http://www.movie-xml.com/?tab=interface which is like the TVDB interface - http://www.thetvdb.com/?tab=xml.

    Also, don't forget the requirements from TVDB.com:
     
  4. PeteTV

    PeteTV New Member

    44
    0
    May 6, 2006
    Is it possible to create a custom Group?

    I tried setting the seriesId to SH000000 for a couple files in the hope that maybe if it didn't exist it would use the seriesTitle, but it didn't work. It didn't group the files at all. I also tried SH999999, same results.

    Next I tried SH000001 and sure enough that put the files in a group, but the group name was "Paid Programming".
     
  5. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    No I think they have to be actual IDs for them to be recognized. As you have seen, it seems to know what series the ID is tagged by it, so you can group them that way, but they will probably have a different name than your show.
     
  6. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    Thanks reneg.

    MasterCephus responded by PM. Interestingly, he is using the Movie-XML interface in a way that isn't documented in the link you provided, i.e., the seriesname query. This seems to give all the info you want in one shot, while starting with the moviename query would require another (id) query to get the details.

    Also the instructions on the tvdb link have a serious typo that prevents anything you try from working: In their URL examples they use interface instead of the (correct) interfaces.
     
  7. naclone

    naclone New Member

    118
    0
    Feb 11, 2002
    question for you metadata folks.

    do you think there would be any way to force a seriesID on a program that is already in NPL? Or is the only way to transfer it with a corresponding text file via pytivo?

    i hate the idea of having to transfer all my programs with TTG and then send them all back with pytivo and hope that no quality gets lost in translation. not to mention the time it would take.
     
  8. MacerX

    MacerX New Member

    30
    0
    Nov 9, 2007
    Pittsburgh, PA
    I have 1 S3 HD Tivo and 2 S2 Tivos and pyTivo d4219 running on a Windows XP machine.

    pyTivo appears to push the HD .Tivo file to the S2 without attempting to transcode as if it is assuming that any .Tivo file is compatible. Is this truely how pyTivo works?

    Hypothetically, if the above is true, and the .Tivo file were converted to a .mpg file, then pyTivo/ffmpeg should recognize the file and Transcode it properly for the S2, right?

    Does pyTivo/ffmpeg automatically recognize high frame rates as part of the transcode process for the S2? For example, if the source file were a 1280x720 60fps 65000kb/s mpeg2 video file with ac3 5.1 384 kb/s audio, will it trancode properly to 544x360 with padding and at a bit-rate and frame rate that is compatible with the S2?

    Any other ideas or suggestions? Maybe example ffmpeg command lines that work for you? Also does anyone have a combination S3 and S2 setup with a monster pyTivo.conf file you could share for reference?

    Og and thanks for everyone's hardwork and support with pyTivo and related tools and support! You're awesome!!!

    Thank you,
    DB
     
  9. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Yes.

    Sure.
     
  10. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    If the file has a .tivo extension, it will be transferred back AS IS.

    If the file is mpeg2 (.mpg), you don't have optRes configured, and your TSN doesn't indicate a HD TiVo model, the file will be transferred AS IS if the size is one of these:
    suportedModes = [[720, 480], [704, 480], [544, 480], [480, 480], [352, 480]]
    Otherwise it will be transcoded to the configured (or default) width and height with padding (letterboxing, pillarizing) as needed per the aspect169 setting

    Don't set optRes unless you are willing to have a HD mpeg2 files transcoded at HD sizes.

    For HD TiVos mpeg2 files are ALL transferred AS IS. You are asked to report what resolutions work for your model and which don't.

    I assume you are using per-Tivo config sections. You definitely should for mixed SD/HD tivo setups.

    If transcoding does occur, the framerate is forced to 29.97.

    I think you can specify any ffmpeg parameters you want. I will let op tell you their suggestions or search this thread for the last month on keywords ffmpeg or ffmpeg_prams.
     
  11. Proxima

    Proxima New Member

    9
    0
    Dec 3, 2005
    Ok, here is my situation. I'm trying this, but it doesn't seem to be working. I see it on my TIVO, I select the file, and even the MPEG files fail. I've tried WMV, then the MPEG, and then a MOV. The MPEG started to go but it was playing fast and audio choppy. WMV and MOV's just fail.

    My Settings are:

    Example of my error log:
    I have a Series 2 Tivo
    Toshiba 50" HDTV Compatible 4:3 Rear Projector
    HP Computer Running (god help me) Vista
     
  12. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I don't know of a way to change the metadata on files that are still on the Tivo. I'm not saying it can't be done, but my guess is that it would require tinkering by folks that frequent the Tivo Underground forum.

    Quality should not be lost on files recorded on the Tivo and transferred back but as you pointed out, it does take time to transfer the files.
     
  13. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    This one has been good for a number of posts: The -i %(in_file)s should be removed from the ffmpeg_prams config line. I assume you have your actual TSN in the per-tivo section heading? (Otherwise that section will have no effect.) If you don't have an active ffmpeg_prams line it defaults to a built-in one. Unfortunately in at least one version the default one also had the same error. I would recommend getting the latest version with d4219... in the download name.

    Also, you have an extremely high bitrate for the format that is configured. You have not specified a width or height so it falls back to the default which is 544x480. (The '#' sign comments out a line so it might as well not be there.) The 12 Mi bitrate is 3 or 4 times too large for that format.

    That bitrate would be more appropriate for encoding to 1440x720. If you comment out the bitrate it will default to 4096k which is good for the default format or you might want to try 720x480. since you have a large screen.
     
  14. Proxima

    Proxima New Member

    9
    0
    Dec 3, 2005
    Still not working. On the TIVO it says the file was larger than expected or corrupted. This is from the log:
    I changed my settings too:
     
  15. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    Proxima:
    What version of pyTivo? Go to the latest version if you haven't done so.
    What kind of file are you trying to transfer? Have you tried more than one example?

    Please confirm you have your actual TSN instead of "540000NOTTACHANCE" in the per tivo section. Otherwise your settings in that section do nothing.

    For now, use the default width (544). If your series 2 is a 540 I think it may not accept some other widths.

    Uncomment the debug line in the config file and try the transfer. Post the resulting debug.txt file here.
     
  16. pesto126

    pesto126 New Member

    16
    0
    Dec 15, 2007
    Perhaps this is just the way things go but I had a question in regard to breaking things out by subdirectory.

    Ok.. So, I have things working just fine. I have a V:\Movies folder defined and a V:\Kids Shows folder defined. Both show up on NPL and when I right arrow in, all the movies display. I wanted to create subfolders under the Kids Shows folder such as V:\Kids Shows\Dora and V:\Kids Shows\Disney. So, I did that and moved a few .avi files from the main V:\Kids Shows to the subfolders.

    The problem is when I go into the Kids Shows folder in NPL, it shows the subfolders with a count of 0 (zero) and the movies are still listed in the main folder. When I go into the subfolders, the movies also appear there... Does something need to be modified to allow the movies to ONLY appear in the subfolders and not in both places? Is there a way to get the Tivo Folder to display the number of files that exist in the subfolder?

    Many thx for all the help/advice... just browsing through many of the posts got me up and running with this. One item to possibly chnage, the default location for the ffmpg program is setup for UNIX.... I kept getting errors and it took me around 4 hours to figure out I needed to comment out that line and change it to the WINDOWS line.. ;) Perhaps it should default to WINDOWS or have a mention of that in the configuration page..?
     
  17. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    pesto126:
    You didn't say whether you have auto_subshares set in your config file (?). This, if used, is set in each share section. Anyway try it with and without this and see if one way pleases you more. Also, what version of pyTiVo? Recommend using the latest available, the one with "d4219..." in the download file name.
     
  18. pesto126

    pesto126 New Member

    16
    0
    Dec 15, 2007
    Thx.. It was set to True to so I'll set to False and give it a go... do I need to stop and restart the service in order for the new config to be used... or does it check it as it needs to so just make the edits and save the file and that's it? Thx.
     
  19. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    You need to stop and restart the service.
     
  20. pesto126

    pesto126 New Member

    16
    0
    Dec 15, 2007
    Bummer.. that changes things but not in the way I was looking for. When that is set to TRUE, then you get all the subdirs listed in the NPL. What I was looking for was a single directory in the NPL (ie: Kids Shows) but when I go in there, you would get many other subdirs (Disney, Dora, Diego) and you could just arrow into each to see the movies. The main Kids Shows would just list the subdirs and NO MOVIES...

    I'm sure I'm doing something wrong because if you can have subdirectories under the main folder and they appear correctly on the Tivo, it seems strange that the files from the subdirectory are also appearing in the main directory and that the directory file count is wrong on the main directory screen... once you go into the subdirectory, the file list does display correctly.

    Thx for all the help.. and any other ideas you might have.
     

Share This Page