pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. Jan 7, 2013 #4001 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    Take 'em out. I'm not sure the ones under under either HD Tivo or SD Tivo get used but they are unnecessary. It's the ones under "Global Server Settings" that you want it to use.

    Log into your TiVo account and make sure that "Video sharing" and "Enable video downloads" are set for the TiVo.

    Make sure the MAK matches the one on your TiVo.

    See if the share is showing up in your "Now Playing" or "My Shows". Check the network status to make sure it is connecting to the TiVo service w/o any problems.

    If do enable Debug in pyTivo, make sure you edit the pyTivo output before you post it here. It will have your tivo.com user and password.
     
  2. Jan 8, 2013 #4002 of 6026
    Raver

    Raver New Member

    59
    0
    Feb 25, 2009
    k, I took out the info for the Hd Tivo.

    Sharing and video downloads were already selected

    my Mak matches...

    after removing the HD tivo info now I get a connection error again when I try to push a video.
     
  3. Jan 8, 2013 #4003 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    Are you running the latest version of PyTivo? What you posted from the command window doesn't look right.
     
  4. Jan 8, 2013 #4004 of 6026
    Raver

    Raver New Member

    59
    0
    Feb 25, 2009
    python 2.7 as iirc wmcombine recommended about a year ago, and it worked then. Should I upgrade to the newest version, I think at that time 2.7 was the highest that worked w/o problems maybe?
     
  5. Jan 8, 2013 #4005 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    The Python version is not the issue, it is the version of pyTivo that I am referring to.

    Do not update Python. Do update pyTivo.
     
  6. Jan 8, 2013 #4006 of 6026
    Raver

    Raver New Member

    59
    0
    Feb 25, 2009
    Which version of pyTivo do you recommend?
     
  7. Jan 8, 2013 #4007 of 6026
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    Always the latest. There are several forks available from different authors. I use and recommend wmcbrine's fork:
    https://github.com/wmcbrine/pytivo

    You can download the current version by clicking on the "ZIP" button on that page.

    You can also follow @pytivo on twitter to be notified in the future when changes are made to the wmcbrine pytivo fork.
     
  8. Jan 8, 2013 #4008 of 6026
    newsposter

    newsposter Poster of News

    35,614
    63
    Aug 18, 2002
    SE PA
    i'm sure i said this in the thread earlier but if someone could get together one 'pak' of files, or even a single installer file, i think they could make some $$ off this :)
    or at least be doing a free public service.

    most of you seem like experts but even after the 2nd computer i had to install this to, it was a tad challenging finding the right files
     
  9. Jan 8, 2013 #4009 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    1. Download latest zip file.

    2. Unzip with "Use folder names" (or whatever the equivalent is in your unzip program) option enabled.

    3. Navigate to thus created directory.

    4. Drag everything in this directory to the directory where you have installed or wish to install pyTivo.

    5. Select "Yes to all" when asked if you want to replace existing files.

    6. Done!
     
  10. Jan 8, 2013 #4010 of 6026
    newsposter

    newsposter Poster of News

    35,614
    63
    Aug 18, 2002
    SE PA
    i forget what page i was on but there were at least 40 or 50 choices of what to use...tar and zip and x64 and stuff like that. sure i know what a zip file is and i know i have a 64 bit system but the one page was just realllly a bit overwhelming for a novice

    plus if i recall correctly at one point i read dont do any python over 3.0 and unless you read a lot you wouldnt know that
     
  11. Jan 8, 2013 #4011 of 6026
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    As I said in my last post, I use and recommend the wmcbrine version. It's simple to obtain the latest version from github:
    Go to: https://github.com/wmcbrine/pytivo
    Click on the "ZIP" button near the top of the page.

    Also, pytivo is not compatible with Python 3 or greater. The recommended version of Python for pyTivo on Windows is 2.7.x (currently 2.7.3).

    The Windows Install page of the pyTivo wiki does explain about versions of python. It needs some work in manual installation instructions section to more clearly explain how/where to obtain the latest pytivo code. I'll see if I can find some time soon to update it.
    http://pytivo.sourceforge.net/wiki/index.php/Windows_Install
     
  12. Jan 8, 2013 #4012 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    Engage in hyperbole much? I suspect you were on the Python page. Yes, you need to install Python to run pyTivo but that is because pyTivo is written in Python, which is an O-O scripting language.

    On the pyTivo d/l page referenced above, there is a fairly obvious button labeled "ZIP".

    That is a separate issue and you actually can't use 3.0. 2.7 is the latest version under which pyTivo will run. Most apps written to run under python 2.x will not work under 3.x and vice-versa.

    BTW, pyTivoMetaThis is also written in Python.
     
  13. Jan 9, 2013 #4013 of 6026
    larrs

    larrs Movie Fan-Addict

    1,028
    6
    May 2, 2005
    DFW
    Actually if it is your first time in there, it is not too obvious... Look just above the listing of all the files and you'll see the word "ZIP" with an icon that appears to be a cloud with an arrow beside it. If you hover over that with your cursor, you'll see a dialog "download this repository as a zip file". That's the one you want.
     
  14. Jan 9, 2013 #4014 of 6026
    jcthorne

    jcthorne Well-Known Member

    3,114
    195
    Jan 28, 2002
    Houston
    Need some help as I have mucked something up trying to update to the latest pytivo that can pull .ts files. I also updated ffmpeg to what ever was current last week when I was installing this.

    When trying to push a properly formatted mp4 file, pytivo now wants to transcode to mpeg2 and fails doing so on bitrate. Why is it trying to transcode instead of push as is. Below is my .conf file and a transcript of the last session trying to push.

    Code:
    [_tivo_SD]
    
    [Server]
    tivo_password = xxxx
    par = 1.0
    tivo_mak = xxxx
    ffmpeg = C:\pyTivo\bin\ffmpeg.exe
    ffmpeg_wait = 10
    tivodecode = c:\pytivo\bin\tivodecode.exe
    tivo_mind = mind.tivo.com:8181
    zeroconf = Auto
    togo_path = Z:\Temp Storage\Need Editing\
    debug = True
    tivo_username =xxxx
    nosettings = False
    port = 9032
    ts = on
    
    [_tivo_7460001905FFE8F]
    shares = Thornoli_Photo_Albums
    
    [_tivo_746000190681AE6]
    shares = Thornoli_Photo_Albums
    
    [_tivo_74600119046B978]
    shares = Thornoli_Photo_Albums
    
    
    [_tivo_HD]
    max_audio_br = 640
    
    [Thornoli_Photo_Albums]
    type = photo
    path = Z:\Photos
    
    [Thornolis Music]
    type = music
    path = Z:\Music
    
    [Movies Alphabetical]
    force_alpha = True
    type = video
    path = Z:\Video Archive\Movies Alphabetical
    
    [Documentaries]
    force_alpha = True
    type = video
    path = Z:\Video Archive\Documentary
    
    [Concerts]
    force_alpha = True
    type = video
    path = Z:\Video Archive\Music & Concerts
    
    [Live Theater Performances]
    force_alpha = True
    type = video
    path = Z:\Video Archive\Live Theater Performances
    
    [Television Shows]
    force_alpha = True
    type = video
    path = Z:\Video Archive\Television Shows
    
    [Tivo Transfers]
    force_alpha = True
    type = video
    path = C:\Download\Transfer
    
    


    Code:
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2013-01-09 16:04:09
      Duration: 00:45:35.36, start: 0.000000, bitrate: 3337 kb/s
        Stream #0:0(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), s16,
    384 kb/s
        Metadata:
          creation_time   : 2013-01-09 16:04:09
          handler_name    : Ì?
        Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1276x720,
     2951 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
        Metadata:
          creation_time   : 2013-01-09 16:04:10
          handler_name    : Ì?
    At least one output file must be specified
    
    DEBUG:pyTivo.video.transcode:failed at mapVideo
    DEBUG:pyTivo.video.transcode:failed at mapAudio
    DEBUG:pyTivo.video.transcode:aFreq=48000; vFps=23.98; container=mov; kbps=3337;
    mapAudio=[('', '')]; vHeight=720; vCodec=h264; Supported=True; aKbps=384; par=No
    ne; millisecs=2735360; par2=None; par1=None; mapVideo=None; vWidth=1276; dar1=No
    ne; rawmeta={'major_brand': [u'isom'], 'creation_time': [u'2013-01-09 16:04:09']
    , 'compatible_brands': [u'isomavc1'], 'minor_version': [u'1']}; aCodec=ac3 (ac-3
     / 0x332D6361)
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, aCodec ac3 (ac-3 / 0x332D6361) not c
    ompatible, Z:\Video Archive\Television Shows\Justified S04E01 Hole in the Wall.m
    p4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:tsn: 7460001905FFE8F
    DEBUG:pyTivo.video.transcode:aspect169: True
    DEBUG:pyTivo.video.transcode:optres: False
    DEBUG:pyTivo.video.transcode:File=Z:\Video Archive\Television Shows\Justified S0
    4E01 Hole in the Wall.mp4 vCodec=h264 vWidth=1276 vHeight=720 vFps=23.98 millise
    cs=2735360 TIVO_HEIGHT=1080 TIVO_WIDTH=1920
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.mind:__login
    {'cams_security_domain': 'tivocom', 'cams_login_config': 'http', 'cams_cb_passwo
    rd': 'xxxxxx', 'cams_original_url': '/mind/mind7?type=infoGet', 'cams_cb_usernam
    e': xxxxxxxxxx}
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:tsn:
    DEBUG:pyTivo.video.transcode:aspect169: True
    DEBUG:pyTivo.video.transcode:optres: False
    DEBUG:pyTivo.video.transcode:File=Z:\Video Archive\Television Shows\Justified S0
    4E01 Hole in the Wall.mp4 vCodec=h264 vWidth=1276 vHeight=720 vFps=23.98 millise
    cs=2735360 TIVO_HEIGHT=480 TIVO_WIDTH=544
    DEBUG:pyTivo.video.transcode:rheight=180 rwidth=319
    DEBUG:pyTivo.video.transcode:par2=1.000 ratio=177.222 mult4by3=1.176
    DEBUG:pyTivo.video.transcode:16:9 aspect allowed, file is wider than 16:9 paddin
    g top and bottom
    -aspect 16:9 -s 544x480
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    INFO:pyTivo:127.0.0.1 [09/Jan/2013 17:59:46] "GET /TiVoConnect?Command=QueryCont
    ainer&Container=Television%20Shows&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [09/Jan/2013 17:59:46] "GET /main.css HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [09/Jan/2013 17:59:46] "GET /folder.png HTTP/1.1" 200 -
    DEBUG:pyTivo.mind:pcBodySearch
    {}
    
    <pcBodyList><isBottom>true</isBottom><isTop>true</isTop><pcBody><bucketNumber>-1
    </bucketNumber><levelOfDetail>low</levelOfDetail><name>pyTivo</name><pcBodyId>ti
    vo:pc.1001378221</pcBodyId><type>pcBody</type></pcBody></pcBodyList>g
    DEBUG:pyTivo.mind:bodyOfferModify&bodyId=tsn:7460001905FFE8F
    {'subtitle': '01 Hole in the Wall', 'description': 'Raylan turns to affable but
    inexperienced Constable Bob for help securing a bail jumper from Tennessee, and
    finds evidence his family is at the center of a legendary unsolved mystery.', 'p
    cBodyId': 'tivo:pc.1001378221', 'publishDate': '2013-01-09 23:5946', 'partnerId'
    : 'tivo:pt.3187', 'duration': 2735, 'size': 5735623200L, 'title': 'Justified', '
    url': 'http://192.168.1.120:9032/Television%20Shows/Justified%20S04E01%20Hole%20
    in%20the%20Wall.mp4?Format=video/mpeg', 'bodyId': 'tsn:7460001905FFE8F', 'source
    ': 'SH01236296', 'state': 'complete', 'encodingType': 'mpeg2ProgramStream', 'tvR
    ating': 'nr'}
    
    <bodyOffer><bodyId>tsn:7460001905FFE8F</bodyId><bodyOfferId>tivo:bo.15014421</bo
    dyOfferId><createDate>2013-01-09 23:59:47</createDate><description>Raylan turns
    to affable but inexperienced Constable Bob for help securing a bail jumper from
    Tennessee, and finds evidence his family is at the center of a legendary unsolve
    d mystery.</description><duration>2735</duration><encodingType>mpeg2ProgramStrea
    m</encodingType><levelOfDetail>high</levelOfDetail><offerId>tivo:of.bs.15014421<
    /offerId><partnerId>tivo:pt.3187</partnerId><pcBodyId>tivo:pc.1001378221</pcBody
    Id><publishDate>2013-01-14 02:06:00</publishDate><size>5735623200</size><source>
    SH01236296</source><state>complete</state><subtitle>01 Hole in the Wall</subtitl
    e><title>Justified</title><tvRating>nr</tvRating><updateDate>2013-01-09 23:59:47
    </updateDate><url>http://192.168.1.120:9032/Television%20Shows/Justified%20S04E0
    1%20Hole%20in%20the%20Wall.mp4?Format=video/mpeg</url></bodyOffer>g
    DEBUG:pyTivo.mind:subscribe&bodyId=tsn:7460001905FFE8F
    {'uiType': 'cds', 'idSetSource': {'contentId': 'tivo:ct.bs.15014421', 'type': 's
    ingleOfferSource', 'offerId': 'tivo:of.bs.15014421'}, 'bodyId': 'tsn:7460001905F
    FE8F', 'title': 'pcBodySubscription'}
    
    <subscribeResult><subscription><autoRecord>true</autoRecord><bodyGeneratesCandid
    ates>false</bodyGeneratesCandidates><bodyId>tsn:7460001905FFE8F</bodyId><hdOnly>
    false</hdOnly><idSetSource><contentId>tivo:ct.bs.15014421</contentId><offerId>ti
    vo:of.bs.15014421</offerId><type>singleOfferSource</type></idSetSource><isAdult>
    false</isAdult><isForKids>false</isForKids><levelOfDetail>high</levelOfDetail><s
    howStatus>rerunsAllowed</showStatus><subscriptionId>tivo:sb.15014821</subscripti
    onId><title>pcBodySubscription</title><type>subscription</type><uiType>cds</uiTy
    pe></subscription></subscribeResult>g
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, Z:\Video
     Archive\Television Shows\Justified S04E01 Hole in the Wall.mp4
    INFO:pyTivo:192.168.1.106 [09/Jan/2013 18:01:00] "GET /Television%20Shows/Justif
    ied%20S04E01%20Hole%20in%20the%20Wall.mp4?Format=video%2Fmpeg HTTP/1.1" 206 -
    INFO:pyTivo.video.video:[09/Jan/2013 18:01:00] Start sending "Z:\Video Archive\T
    elevision Shows\Justified S04E01 Hole in the Wall.mp4" to Thornolis HT
    DEBUG:pyTivo.video.video:"Z:\Video Archive\Television Shows\Justified S04E01 Hol
    e in the Wall.mp4" is not tivo compatible
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:tsn: 7460001905FFE8F
    DEBUG:pyTivo.video.transcode:aspect169: True
    DEBUG:pyTivo.video.transcode:optres: False
    DEBUG:pyTivo.video.transcode:File=Z:\Video Archive\Television Shows\Justified S0
    4E01 Hole in the Wall.mp4 vCodec=h264 vWidth=1276 vHeight=720 vFps=23.98 millise
    cs=2735360 TIVO_HEIGHT=1080 TIVO_WIDTH=1920
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! Z:\Video Archive\Television Shows\Justif
    ied S04E01 Hole in the Wall.mp4
    DEBUG:pyTivo.video.transcode:transcoding to tivo model 746 using ffmpeg command:
    
    DEBUG:pyTivo.video.transcode:C:\pyTivo\bin\ffmpeg.exe -i Z:\Video Archive\Televi
    sion Shows\Justified S04E01 Hole in the Wall.mp4 -vcodec mpeg2video -b 16384k -m
    axrate 30000k -bufsize 4096k -ab 64k -ar 48000 -acodec ac3 -copyts -f vob -
    ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers
      built on Nov 25 2012 12:21:26 with gcc 4.7.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
    ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
    -enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
    le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
    pus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
    ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
    bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
    ble-zlib
      libavutil      52.  9.100 / 52.  9.100
      libavcodec     54. 77.100 / 54. 77.100
      libavformat    54. 37.100 / 54. 37.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 23.102 /  3. 23.102
      libswscale      2.  1.102 /  2.  1.102
      libswresample   0. 17.101 /  0. 17.101
      libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Z:\Video Archive\Television Shows\Justi
    fied S04E01 Hole in the Wall.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2013-01-09 16:04:09
      Duration: 00:45:35.36, start: 0.000000, bitrate: 3337 kb/s
        Stream #0:0(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), s16,
    384 kb/s
        Metadata:
          creation_time   : 2013-01-09 16:04:09
          handler_name    : &#9500;î?
        Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1276x720,
     2951 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
        Metadata:
          creation_time   : 2013-01-09 16:04:10
          handler_name    : &#9500;î?
    Please use -b:a or -b:v, -b is ambiguous
    Output #0, vob, to 'pipe:':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        encoder         : Lavf54.37.100
        Stream #0:0(und): Video: mpeg2video, yuv420p, 1276x720, q=2-31, 16384 kb/s,
    90k tbn, 23.98 tbc
        Metadata:
          creation_time   : 2013-01-09 16:04:10
          handler_name    : &#9500;î?
        Stream #0:1(und): Audio: ac3, 48000 Hz, 5.1(side), fltp, 64 kb/s
        Metadata:
          creation_time   : 2013-01-09 16:04:09
          handler_name    : &#9500;î?
    Stream mapping:
      Stream #0:1 -> #0:0 (h264 -> mpeg2video)
      Stream #0:0 -> #0:1 (ac3 -> ac3)
    Press [q] to stop, [?] for help
    frame=   58 fps=0.0 q=2.0 size=     706kB time=00:00:02.84 bitrate=2034.6kbits/s
    frame=  103 fps=102 q=2.0 size=    1620kB time=00:00:04.66 bitrate=2843.8kbits/s
    frame=  145 fps= 95 q=3.0 size=    2258kB time=00:00:06.52 bitrate=2835.9kbits/s
    frame=  167 fps= 80 q=2.0 size=    3948kB time=00:00:07.41 bitrate=4359.5kbits/s
    frame=  184 fps= 71 q=2.0 size=    5830kB time=00:00:07.89 bitrate=6046.5kbits/s
    frame=  203 fps= 64 q=2.0 size=    7258kB time=00:00:08.79 bitrate=6760.6kbits/s
    frame=  228 fps= 61 q=2.0 size=    8842kB time=00:00:09.72 bitrate=7450.0kbits/s
    frame=  249 fps= 59 q=2.0 size=   10370kB time=00:00:10.65 bitrate=7976.1kbits/s
    frame=  278 fps= 58 q=1.6 size=   11890kB time=00:00:12.02 bitrate=8098.9kbits/s
    frame=  305 fps= 57 q=2.0 size=   12964kB time=00:00:12.95 bitrate=8197.9kbits/s
    frame=  331 fps= 56 q=2.0 size=   14156kB time=00:00:14.29 bitrate=8110.3kbits/s
    frame=  360 fps= 56 q=2.0 size=   15446kB time=00:00:15.22 bitrate=8310.0kbits/s
    frame=  396 fps= 56 q=2.0 size=   16980kB time=00:00:17.05 bitrate=8158.0kbits/s
    frame=  428 fps= 56 q=2.0 size=   18274kB time=00:00:18.42 bitrate=8124.1kbits/s
    frame=  463 fps= 57 q=2.0 size=   19540kB time=00:00:19.80 bitrate=8083.3kbits/s
    frame=  496 fps= 58 q=2.0 size=   20728kB time=00:00:21.17 bitrate=8017.7kbits/s
    frame=  523 fps= 57 q=2.0 size=   22238kB time=00:00:22.10 bitrate=8240.7kbits/s
    frame=  538 fps= 55 q=2.0 size=   22842kB time=00:00:23.03 bitrate=8123.5kbits/s
    frame=  561 fps= 54 q=2.0 size=   23900kB time=00:00:23.93 bitrate=8181.5kbits/s
    frame=  591 fps= 55 q=2.0 size=   24976kB time=00:00:24.85 bitrate=8230.7kbits/s
    frame=  613 fps= 54 q=2.0 size=   26152kB time=00:00:25.81 bitrate=8297.8kbits/s
    frame=  646 fps= 54 q=2.0 size=   27618kB time=00:00:27.19 bitrate=8319.5kbits/s
    frame=  674 fps= 54 q=2.0 size=   28840kB time=00:00:28.53 bitrate=8278.5kbits/s
    frame=  701 fps= 54 q=1.6 size=   30104kB time=00:00:29.46 bitrate=8369.2kbits/s
    frame=  734 fps= 54 q=2.0 size=   31134kB time=00:00:30.84 bitrate=8269.4kbits/s
    frame=  766 fps= 54 q=2.0 size=   32280kB time=00:00:32.18 bitrate=8215.8kbits/s
    frame=  825 fps= 56 q=2.0 size=   33358kB time=00:00:34.93 bitrate=7821.4kbits/s
    frame=  865 fps= 57 q=2.0 size=   34720kB time=00:00:36.31 bitrate=7832.3kbits/s
    frame=  898 fps= 57 q=2.0 size=   35794kB time=00:00:37.69 bitrate=7779.8kbits/s
    frame=  932 fps= 57 q=2.0 size=   36836kB time=00:00:39.09 bitrate=7717.9kbits/s
    frame=  954 fps= 57 q=2.0 size=   37944kB time=00:00:39.99 bitrate=7772.0kbits/s
    frame=  980 fps= 57 q=2.0 size=   39636kB time=00:00:41.37 bitrate=7848.5kbits/s
    frame= 1000 fps= 56 q=2.0 size=   41252kB time=00:00:42.29 bitrate=7989.3kbits/s
    frame= 1026 fps= 56 q=2.0 size=   42882kB time=00:00:43.19 bitrate=8132.7kbits/s
    frame= 1027 fps= 33 q=2.0 size=   42882kB time=00:00:43.19 bitrate=8132.7kbits/s
    frame= 1042 fps= 33 q=2.0 size=   44108kB time=00:00:43.77 bitrate=8255.1kbits/s
    frame= 1075 fps= 34 q=2.3 size=   45444kB time=00:00:45.08 bitrate=8257.7kbits/s
    frame= 1101 fps= 34 q=2.0 size=   46548kB time=00:00:46.42 bitrate=8213.4kbits/s
    frame= 1119 fps= 34 q=2.0 size=   47772kB time=00:00:46.90 bitrate=8343.1kbits/s
    Bit allocation failed. Try increasing the bitrate.
    Audio encoding failed (avcodec_encode_audio2)
    INFO:pyTivo.video.video:[09/Jan/2013 18:01:34] Done sending "Z:\Video Archive\Te
    levision Shows\Justified S04E01 Hole in the Wall.mp4" to Thornolis HT, 49620992
    bytes, 11.33 Mb/s
    
     
  15. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    jcthorne- I took a look through what you posted and didn't see anything obvious. Hopefully wmcbrine can find something.

    Does it try to transcode on a push as well?

    I have the new ts-pull enabled pytivo working on my DS111. Here is my conf file, don't see anything very different in it.

    Code:
    [Videos]
    force_alpha = true
    type = video
    path = /volume1/Video/Video
    
    [Tivo Downloads]
    force_alpha = true
    type = video
    path = /volume1/private/Tivo_Downloads
    
    [_tivo_HD]
    
    [_tivo_SD]
    width = 720
    
    [Server]
    tivo_mak = xxxx
    #ffmpeg = /usr/syno/bin/ffmpeg
    ffmpeg = /volume1/@appstore/Serviio/bin/ffmpeg
    tivo_password = xxxx
    force_alpha = true
    togo_path = /volume1/private/Tivo_Downloads
    tivo_username = xxxx
    port = 9032
    ts = on
     
  16. gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    Note for Windows users: I've updated the pyTiVo wiki Windows Install and Current Releases pages to (hopefully) help new users get started easier. You can see a summary of my changes to the Windows Install page here:
    http://pytivo.sourceforge.net/wiki/index.php?title=Windows_Install&diff=548&oldid=533

    The Current Release page was lightly edited to suggest that new users try the wmcbrine fork first and to clarify how to easily obtain the most current version from his github repo.

    Feel free to review and edit or suggest further changes.
     
  17. jcthorne

    jcthorne Well-Known Member

    3,114
    195
    Jan 28, 2002
    Houston
    Thanks for taking the time to look. The debug output was from an attempted push of an h.264 compatible mp4 file.
     
  18. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Ah, ok. I see that you wrote that in your initial post. Do you still have a copy of your old ffmpeg that you could test to see if pushes are still being transcoded?
     
  19. jcthorne

    jcthorne Well-Known Member

    3,114
    195
    Jan 28, 2002
    Houston
    That was a good suggestion. Yes, I have the old ffmpeg and placed it back in the bin directory. Push works again. Perhaps I have a wrong version of ffmpeg.exe.

    Is there a known good windows binary ffmpeg I should be using with this version of pytivo?
     
  20. gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    I just (over the last two days) edited up the wiki to suggest getting a more recent build of ffmpeg than rdian06's (since he appears inactive and it's quite old now). I'm recommending ffmpeg 1.1, as it's quite recent(1-8-2013) and it "works for me"&#8482; :) I've also used several of the daily builds from zeranoe's page starting around the last week of December, but felt that going with a specific 'point-version' was a better idea for new users. The work done on pyTivo to support h264 pulls occurred mostly in Dec. and the build you have of ffmpeg in the logs above is from November...Which I would have assumed would have been ok for our purposes. When I get home today I'll try pushing my mp4 files that I know have been pulling correctly with the new ts=on functionality and let you know if they end up transcoded or not.
     

Share This Page