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. Jan 3, 2008 #1661 of 5684
    MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    Sorry for the multiple posts here, but I keep forgetting things :)

    I have posted a new version of the MetaGenerator here.

    Everything is the same except 2 things:

    1. When saving videos, I am now just looking for a set of valid video files (.avi, .mpg, .mp4, .vob, .flv) instead of each individually.

    2. Exporting Season now allows you to pick each video file individually (look at the top of the save text file screen for the Series name - Episode Title to know which episode you are saving) instead of just dumping them all to a folder with generic names.

    Hope you guys enjoy!
     
  2. Jan 3, 2008 #1662 of 5684
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    If you use metadata, you can set original air date and saved date. That solves the problem.

    I looked thru the metadata and my program stores even the channel it was originally recorded on, the record date, original airdate, tv ratings, genres from the original numbers stored in the tivo, etc.

    Not hard to do with the metadata files
     
  3. Jan 3, 2008 #1663 of 5684
    tlc

    tlc Member

    710
    0
    May 29, 2002
    That's my understanding; if you don't tell ffmpeg to scale to a size, it uses the input size.

    But I didn't come up with this. I just read the posts and used it.

    tlc
     
  4. Jan 3, 2008 #1664 of 5684
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Ok, wierd problem.

    I converted .TY files to MPG using tytompg.

    They play fine in media player on my xp machine. Audio is fine

    When they transfer to my TIVO, the sound kind of clicks every 1 second or so. It kind of sounds like a dropout about every second, and again, it plays fine on the computer.

    So I am assuming it is ffmpeg problem, since it does the transfer.

    I have a tivoHD, the files were from a series 2 machine, not HD, The ffmpeg I have is from the 12/09 pytivo kit.

    Anyone have this or fix it with config changes, etc/
    Thanks!
     
  5. Jan 3, 2008 #1665 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Are you sure? If the mpeg2 is considered TiVo-compatible by pyTivo it is just streamed directly to your TiVo without ffmpeg transcoding.

    Maybe the output of tytompg just isn't quite acceptable to the TiVo?

    If you are not running pyTivo as a service you can see whether ffmpeg is transcoding in the command window.
     
  6. Jan 3, 2008 #1666 of 5684
    TreborPugly

    TreborPugly Unreal!

    4,542
    0
    May 2, 2002
    Eastern TN
    You don't need to change any code, just the link you are using to access the pyTivo server. The IP address in the link should be changed to whatever IP address your machine has. If you are just doing it on the machine that is running pyTivo, that link could be changed to: http://localhost:9032/TiVoConnec...ontainer=Admin
     
  7. Jan 3, 2008 #1667 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    I think this is something you are supposed to enter into your browser as an address to go to, so put in whatever IP will reach your pyTivo.
     
  8. Jan 3, 2008 #1668 of 5684
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA

    I'll try that tonight. I just dont know where the problem is, and assumed it was ffmpeg since it sounds fine on the computer.

    If it is tytompg, anyone have something else to cvt a ty to mpeg that works better?
     
  9. Jan 3, 2008 #1669 of 5684
    phox_mulder

    phox_mulder I get paid 2watch TV

    5,615
    0
    Feb 23, 2006
    Salt Lake...
    Thank you for taking the time to answer.

    Off I go to try all this.


    phox
     
  10. Jan 3, 2008 #1670 of 5684
    cconnell

    cconnell New Member

    18
    0
    Nov 15, 2006
    I have pytivo installed and working. I have 250 files in one directory. No Sub directories. Average file size 5 gig. The files are on an external hardrive. I can access it quickly from my PC. I am running Vista 64 bit.

    pyTivo runs fine but the directory listing is painfully slow. 20 to 30 seconds for it to come up and for each page down. Thinking it was pyTivo I installed Galleon. Same problem.

    Any thoughts on what could cause the problem? Things to try? Thanks in advance.
     
  11. Jan 3, 2008 #1671 of 5684
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Did you even read the REPLY to this very question that you asked yesterday ? The files need to be parsed to determine if they're TiVo compatible or not. Churning through 250 large video files takes a while...
     
  12. Jan 3, 2008 #1672 of 5684
    cconnell

    cconnell New Member

    18
    0
    Nov 15, 2006
    I did reply, and got no further response. At that time I tried galleon. Sorry it is hard to keep track of everything in this one thread.

    pyTivo had been running for over 12 hours and it did not speed up. There is only one directory with no sub folders. Just for reference how long is a while? Thanks.
     
  13. Jan 3, 2008 #1673 of 5684
    MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    I imagine that if pyTivo must use ffmpeg to "test" every 5GB that you have (which is 250GB), it could take a while....

    but defining while could mean a number of things...like what is the speed of your machine...

    try this, copy about 5 of those files into a seperate folder and try to see if pyTivo sees it quicker. Then you could take that time and multiple times 50 and you should have a rough estimate....
     
  14. Jan 3, 2008 #1674 of 5684
    cconnell

    cconnell New Member

    18
    0
    Nov 15, 2006
    It took less than 5 seconds when I did this. When I went back in it was almost instant. When I have 250 files do I need to page down to the bottom to make sure that it gets cached? If yes can force it to cache with an http call from my browser (at 20 seconds per page of 8 it could take awhile and get old every time I have to reboot.).

    Thanks for your replies. Thoughts?
     
  15. Jan 3, 2008 #1675 of 5684
    KRKeegan

    KRKeegan Im lost and confused

    215
    0
    Jul 20, 2004
    Los Angeles, CA
    Before you start trying to figure out http calls, why dont you make sure that the result is what you want.

    Load one of those large folders and slowly scroll all the way through the files to make sure they have all been read. Then exit the folder and come back. Does the folder load fast now?

    Kevin
     
  16. Jan 3, 2008 #1676 of 5684
    phox_mulder

    phox_mulder I get paid 2watch TV

    5,615
    0
    Feb 23, 2006
    Salt Lake...
    I can't believe I actually got this to work.

    I'm transferring a program as we speak.

    432MB AVI and it's taken 3.5 hours to transfer 36 minutes of an hour program to my S3.

    I took a quick peek at the show and was quite impressed at the video/audio quality though.

    Is it supposed to be this slow, or is my ancient computer the problem.

    My CPU usage has been pegged at 100% plus the whole time, making it really hard to do anything else on the computer.

    Maybe I need to install everything on my sons computer and see if it goes any quicker, his computer is slightly newer and faster than mine.
    His is wireless G to my router though, my computer is ethernet to router along with the S3.

    Also looks like I need to do some tweaking to the aspect ratio settings, it looks like I'm bleeding off the edge of my TV.
    I used the suggested HDTV settings.


    phox
     
  17. Jan 3, 2008 #1677 of 5684
    KRKeegan

    KRKeegan Im lost and confused

    215
    0
    Jul 20, 2004
    Los Angeles, CA
    I updated the list of server configuration settings at:
    http://pytivo.armooo.net/wiki/ConfigurepyTivo#Settings

    If anyone has any notes to add please do.
    If the CPU is at 100% then yeah that is the bottleneck. You can tinker with the bitrate settings which might help. You will get a lower quality video but it will be usable. Or move it to a faster computer. My box can transfer a similar file faster than real time.
     
  18. Jan 3, 2008 #1678 of 5684
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Well, I bought/used VideoRedo QuickstreamFix and it fixed it

    Go figure
     
  19. Jan 3, 2008 #1679 of 5684
    mr2828

    mr2828 New Member

    43
    0
    Jun 18, 2007
    phox, if your computer's interactivity is too slow while doing a transfer you might want to search back in this thread for the trick on how to run pytivo at a lower than normal process priority. I had to resort to this since I want to be able to use one of my laptops while it does transfers. On the downside this will make the transfer take even longer than it is now.
     
  20. Jan 3, 2008 #1680 of 5684
    StanSimmons

    StanSimmons Senior Moment Member

    4,717
    0
    Jun 10, 2000
    Flower...
    Yes, please! I would love to have the Genre numbers table
     

Share This Page