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. Mar 13, 2007 #121 of 5684
    CheezWiz

    CheezWiz ReplayTV->S3 Tivo

    211
    0
    Dec 29, 2006
    Middle...
    OK,

    Tivo.net user here (Barely)

    Got this up and running via remote desktop during a meeting at work.. hehe
    Anyways, is there a FAQ anywhere yet? If not, could we newbies fire off some Q's and get answers and get a FAQ assembled? Ill be glad to do it...
     
  2. Mar 13, 2007 #122 of 5684
    KRKeegan

    KRKeegan Im lost and confused

    215
    0
    Jul 20, 2004
    Los Angeles, CA
    I would love to have a wiki up and running. I have no problems hosting it on my site, but I don't want to take away from Armooo.
     
  3. Mar 13, 2007 #123 of 5684
    sabu

    sabu New Member

    17
    0
    Jan 29, 2002
    Harrisburg, PA
    I have an xvid file encoded at a resolution of 640x368. When I transfer from a windows box using version 173 of pyTivo/ffmpeg it doesn't look right on the TV. The image is shifted right by almost 1/4 of the screen, and the right side of the video can't be seen. When I look at it on the PC, the title and credits are centered, not off-center like they are on the TiVo.

    What can I do to fix the guesstimate it is making for ffmpeg?

    Thanks,
    Bob

    Here is the output from the log if that helps:
    FFmpeg version SVN-r8047, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --
    enable-liba52 --enable-avisynth --enable-libdts --enable-libfaac --enable-libfaa
    d --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-l
    ibtheora --enable-libvorbis --enable-x264 --enable-xvid --enable-amr_nb --enable
    -amr_wb --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
    libavutil version: 49.3.0
    libavcodec version: 51.34.0
    libavformat version: 51.10.0
    built on Feb 21 2007 23:20:24, gcc: 4.3.0 20070126 (experimental)
    Input #0, avi, from 'c:\tivo/Torchwood S01E01 Everything Changes.avi':
    Duration: 00:50:45.0, start: 0.000000, bitrate: 962 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
    Output #0, vob, to 'pipe:':
    Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 4096 kb/s, 29.97 fps
    (c)
    Stream #0.1: Audio: mp2, 44100 Hz, stereo, 192 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
     
  4. Mar 13, 2007 #124 of 5684
    sabu

    sabu New Member

    17
    0
    Jan 29, 2002
    Harrisburg, PA
    And for the other extreme:

    Core2Duo T7200 (2GHz laptop) over 100Mbit Ethernet to Dual Tuner SA: 51 minute show transfered in 17 minutes.
     
  5. Mar 13, 2007 #125 of 5684
    A@ron

    A@ron New Member

    113
    0
    Jul 18, 2003
    ok I need a hand here. Got this running in Mac OS X by installing python 2.4. IDLE shows the beacon running but there are no videos showing. If I check 127.0.0.1:9032 I get
    Code:
    This is a tivoPY server
    if I go here it's blank: http://127.0.0.1:9032/TiVoConnect?Command=QueryContainer&Container=Video

    my conf file looks like so:
    Code:
    [Server]
    
    port=9032
    
    #Full path to ffmpeg including filename
    
    #For windows: ffmpeg=c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
    
    #For linux:   ffmpeg=/usr/bin/ffmpeg
    
    ffmpeg=/pyTivo/ffmpeg
    
    
    
    [<TiVoNet>]
    
    type=video
    
    ##Full path to your files (No trailing slash needed)
    
    #For windows: path=c:\videos
    
    #For linux:   path=/media
    
    path=/Volumes/HD2/TiVoNet/
    it does not look like it is seeing any videos.
     
  6. Mar 14, 2007 #126 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Ah I love it when I can correct someone else's mistake, especially when it's exactly the same one I made!

    Instead of: "[<TiVoNet>]" you need to put in a label or title for this folder and do not enclose it in "<>", e.g., "[Videos-Part1]" (or "[TiVoNet]"). In other words the "<>" seems to be a no-no.

    @KRKeegan: Perhaps a helpful hint not to use "<>" here in the distributed .conf file ??
     
  7. Mar 14, 2007 #127 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    I second (third?) this motion and am willing to contribute.
     
  8. Mar 14, 2007 #128 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    A simple experiment to see if it might be a problem with Build 8047 of ffmpeg:

    Replace ffmpeg_mp2.exe with the version used in TiVo.Net (build 7215). The link you need to download this is given in this prior post (if you don't already have it via Tivo.Net). The download will be a zip and the only file you need from it is ffmpeg.exe. Either rename it to ffmpeg_mp2.exe (rename the existing ffmpeg_mp2.exe first to save it) or change your pyTivo.conf ffmpeg path.
     
  9. Mar 14, 2007 #129 of 5684
    CheezWiz

    CheezWiz ReplayTV->S3 Tivo

    211
    0
    Dec 29, 2006
    Middle...
    Just curious,

    Does the Linux version of FFMPEG work with OSX (BSDish/Unix) or did you download an OSX version from somewhere? I have a MacBook I was going to try this out with as well..
     
  10. Mar 14, 2007 #130 of 5684
    A@ron

    A@ron New Member

    113
    0
    Jul 18, 2003
    I built my own. Or you can download ffmpegX and get contents of the application and borrow it out of there ;)
     
  11. Mar 14, 2007 #131 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Just noticed on the tivo.net thread that Build 7215 is an "Alternative FFMPEG download" :confused: I have the latest version of TDN and that is the build that was distributed with it. Anyway this seems to imply that if you have an older version of TDN the ffmpeg build may not be 7215.

    Easy way to find the Build number: In a command window logged to the folder containing ffmpeg (or ffmpeg_mp2), just enter "ffmpeg -i dud".
     
  12. Mar 14, 2007 #132 of 5684
    dlan1000

    dlan1000 New Member

    2
    0
    Mar 14, 2007
    Hey,

    Is there any chance for adding subtitle support? I watch a lot of foreign films.

    Pytivo is really great, btw. Its added new life to my tivo.
     
  13. Mar 14, 2007 #133 of 5684
    KRKeegan

    KRKeegan Im lost and confused

    215
    0
    Jul 20, 2004
    Los Angeles, CA
    I am assuming subtitles are in a separate ".srt" file??
     
  14. Mar 14, 2007 #134 of 5684
    CheezWiz

    CheezWiz ReplayTV->S3 Tivo

    211
    0
    Dec 29, 2006
    Middle...
    Well, I am going to start an "Official PyTivo FAQ & Q&A" thread if there are no objections. This thread should be dedicated to development, feature requests and bug reports. I hate how no one around here seems to follow that kind of logic. You end up with one thread 100's of posts in length with peple getting rude saying "If you had read the entire thread..." or refer to post #xxx for the first issue and post #yyy for the other. Seems really idiotic, but seems to happen alot here and on other forums... I dont see how we could be stealing any glory for doing so since the developers rarely have time for documentation..
     
  15. Mar 14, 2007 #135 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    I stated in an earlier post that I favored a FAQ and/or Wiki and I applaud your inititiative. However I'm wondering how another thread really serves the purpose? How would it differ from the current thread, which largely covers the same topics you mentioned (development, feature requests and bug reports)?

    To me the advantage of an FAQ or Wiki is that the information is condensed, organized and edited by a gatekeeper (or several). I don't see how you can achieve that in a thread (since anyone can post anything, and no gatekeeper can change it). :confused:

    Paraphrasing a line in "Ghost Busters", are you a moderator? :D (Only a moderator would have the power to make such a thread anything more than just another thread.)
     
  16. Mar 14, 2007 #136 of 5684
    CheezWiz

    CheezWiz ReplayTV->S3 Tivo

    211
    0
    Dec 29, 2006
    Middle...
    What I am saying is that this thread SHOULD be for development, feature requests and bug reports. The first post of this thread would be edited to point to the QA/FAQ thread for installation/usage issues. The first post of that thread would be regularly updated with reasonable Q & A's as the thread grows. That way, no one needs to span the entire thread looking for answers and this one does not get polluted with senseless garbage. All the relevant Q&A info would be added to the first post of the Q&A thread...

    No moderator powers required for this simple task..
     
  17. Mar 14, 2007 #137 of 5684
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Sorry, I didn't understand you. I'm still not sure this is better than a wiki or something that could be filtered by the developers. You of course would be the sole gatekeeper of your proposed thread which implies quite a responsibility.

    KRKeegan has offered to host a wiki. What do you think of that?
     
  18. Mar 14, 2007 #138 of 5684
    CheezWiz

    CheezWiz ReplayTV->S3 Tivo

    211
    0
    Dec 29, 2006
    Middle...
    I too agree that it would be a better solution, but that appears to currently be at the sole discretion of the developer.

    So we gotta start somewhere, at least the thread would be a launch point for wiki information should that route be approved. It would be a responsibility, but not much work. I am so pleased with how well this is working that I am inspired to contribute what little I can.

    Anyone ever considered SourceForge for this? I am assuming that it is still all free? It has message boards that break into the proper categories for this kind of thing. As well as bug and feature request tracking and overall development management. The home page could point to the authors home page and the documentation page could be the wiki..
     
  19. Mar 14, 2007 #139 of 5684
    KRKeegan

    KRKeegan Im lost and confused

    215
    0
    Jul 20, 2004
    Los Angeles, CA
    nah, i will start it tonight, give me a few hours.
     
  20. Mar 14, 2007 #140 of 5684
    armooo

    armooo pyTivo Developer

    81
    0
    Feb 1, 2003
    I setup Trac at http://pytivo.armooo.net. It has a wiki that is open to the public . So you can start creating loads of documation.
     

Share This Page