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

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Not all that big but:

    It is an mp4 and is going to a TiVo 2 so must be trans-coded by a fairly slow computer running Win2K and thus an old version of ffmpeg and is going over the inter-webz. All that results in a transfer time of about 6x runtime.
     
  2. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    For "listen" to work, pyTivo has to be able to bind port 2190, which might already have been seized by TiVo Desktop, or the other instance of pyTivo. But you don't really need "listen"; that's just the easiest way to turn off the beacons. As an alternative, I guess you could just put... beacon = some address that you know won't ping you pack, but is actually resolvable. (I was gonna say localhost, but that might not work if something else is binding port 2190, because it will probably respond.)

    Actually you can just put "beacon =".
     
  3. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Not seeing the issue with things as currently configured. If it comes up again, I'll try "beacon = ". Thanks for all of the help. I'm probably the only person who actually care about this particular issue.
     
  4. Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    Because I still have trouble pulling through shows that are AVI and sometimes MKV (even ones I transcoded), I finally decided to go and get the latest "ffmpeg build". To my surprise it messed-up on me on the first mp4 file I tried to push/bring over to my series 2 TiVo.

    Here is what I am seeing: (I believe, I anonymized the files properly enough, taking out passwords and TSNs -- let me know if I forgot something.)

    I do have a question about these two specific errors:

    And,

    Code:
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:17:37] "GET / HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:17:43] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:17:48] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Broadchurch&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:17:52] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Broadchurch/Series%201&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:17:52] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Broadchurch/Series%201&Format=text/html HTTP/1.1" 200 -
    ERROR:pyTivo:Exception during request from ('127.0.0.1', 2229)
    Traceback (most recent call last):
      File "C:\Python27\lib\SocketServer.py", line 593, in process_request_thread
        self.finish_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "C:\pyTivo\httpserver.py", line 89, in __init__
        client_address, server)
      File "C:\Python27\lib\SocketServer.py", line 649, in __init__
        self.handle()
      File "C:\Python27\lib\BaseHTTPServer.py", line 342, in handle
        self.handle_one_request()
      File "C:\Python27\lib\BaseHTTPServer.py", line 310, in handle_one_request
        self.raw_requestline = self.rfile.readline(65537)
      File "C:\Python27\lib\socket.py", line 476, in readline
        data = self._sock.recv(self._rbufsize)
    error: [Errno 10053] An established connection was aborted by the software in your host machine
    INFO:pyTivo.video.video:[16/Aug/2013 13:18:00] Queued "G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4" for Push to Bedroom1
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:00] "POST /TiVoConnect HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:05] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Broadchurch/Series%201&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:11] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows&Format=text/html HTTP/1.1" 200 -
    DEBUG:pyTivo.video.transcode:ffmpeg output=ffmpeg version N-55515-gbbbd959 Copyright (c) 2000-2013 the FFmpeg developers
    
      built on Aug 13 2013 18:01:31 with gcc 4.7.3 (GCC)
    
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    
      libavutil      52. 42.100 / 52. 42.100
    
      libavcodec     55. 27.100 / 55. 27.100
    
      libavformat    55. 13.102 / 55. 13.102
    
      libavdevice    55.  3.100 / 55.  3.100
    
      libavfilter     3. 82.100 /  3. 82.100
    
      libswscale      2.  4.100 /  2.  4.100
    
      libswresample   0. 17.103 /  0. 17.103
    
      libpostproc    52.  3.100 / 52.  3.100
    
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4':
    
      Metadata:
    
        major_brand     : isom
    
        minor_version   : 512
    
        compatible_brands: isomiso2avc1mp41
    
        encoder         : Larry Sanders
    
      Duration: 00:45:57.27, start: 0.000000, bitrate: 927 kb/s
    
        Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x404, 803 kb/s, 25 fps, 25 tbr, 20k tbn, 50 tbc
    
        Metadata:
    
          handler_name    : VideoHandler
    
        Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 115 kb/s
    
        Metadata:
    
          handler_name    : SoundHandler
    
    At least one output file must be specified
    
    
    DEBUG:pyTivo.video.transcode:aFreq=48000; aCh=2; container=mov; kbps=927; mapAudio=[('0:1', '(und) aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 115 kb/s\r')]; vHeight=404; vCodec=h264; Supported=True; aKbps=115; par=None; millisecs=2757270; vFps=25.00; par2=None; par1=None; mapVideo=0:0; vWidth=720; dar1=None; rawmeta={'major_brand': [u'isom'], 'encoder': [u'Larry Sanders'], 'compatible_brands': [u'isomiso2avc1mp41'], 'minor_version': [u'512']}; aCodec=aac
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:tsn: ***********************
    DEBUG:pyTivo.video.transcode:aspect169: False
    DEBUG:pyTivo.video.transcode:optres: True
    DEBUG:pyTivo.video.transcode:File=G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4 vCodec=h264 vWidth=720 vHeight=404 vFps=25.00 millisecs=2757270 TIVO_HEIGHT=480 TIVO_WIDTH=544
    DEBUG:pyTivo.video.transcode:rheight=101 rwidth=180
    DEBUG:pyTivo.video.transcode:par2=1.000 ratio=178.218 mult4by3=1.176
    DEBUG:pyTivo.video.transcode:File is wider than 4:3 padding top and bottom
    -aspect 16:9 -s 544x478 -padtop 0 -padbottom 2
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:audio_lang: None
    DEBUG:pyTivo.video.transcode:set first detected audio stream by default: 0:1
    DEBUG:pyTivo.video.transcode:selected audio stream: 0:1
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec h264 not compatible, G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Broadchurch\Series 1\Broadchurch - 1x04 - Episode 4.mp4
    DEBUG:pyTivo.mind:__login
    {'cams_security_domain': 'tivocom', 'cams_login_config': 'http', 'cams_cb_password': '*********', 'cams_original_url': '/mind/mind7?type=infoGet', 'cams_cb_username': '*********************'}
    DEBUG:pyTivo.mind:pcBodySearch
    {}
    
    <pcBodyList><isBottom>true</isBottom><isTop>true</isTop><pcBody><bucketNumber>-1</bucketNumber><levelOfDetail>low</levelOfDetail><name>pyTivo</name><pcBodyId>tivo:pc.1002412911</pcBodyId><type>pcBody</type></pcBody></pcBodyList>g
    DEBUG:pyTivo.mind:bodyOfferModify&bodyId=tsn:***************************
    {'description': '', 'pcBodyId': 'tivo:pc.1002412911', 'publishDate': '2013-08-16 18:1816', 'partnerId': 'tivo:pt.3187', 'duration': 2757, 'size': 1597295520, 'title': 'Broadchurch - 1x04 - Episode 4', 'url': 'http://192.168.1.101:9032/TV%20Shows/Broadchurch/Series%201/Broadchurch%20-%201x04%20-%20Episode%204.mp4?Format=video/mpeg', 'bodyId': 'tsn:******************', 'source': 'Broadchurch - 1x04 - Episode 4', 'state': 'complete', 'encodingType': 'mpeg2ProgramStream', 'tvRating': 'nr'}
    
    <bodyOffer><bodyId>tsn:*************</bodyId><bodyOfferId>tivo:bo.15000001</bodyOfferId><createDate>2013-08-16 18:17:45</createDate><description /><duration>2757</duration><encodingType>mpeg2ProgramStream</encodingType><levelOfDetail>high</levelOfDetail><offerId>tivo:of.bs.15000001</offerId><partnerId>tivo:pt.3187</partnerId><pcBodyId>tivo:pc.1002412911</pcBodyId><publishDate>2013-08-18 00:16:00</publishDate><size>1597295520</size><source>Broadchurch - 1x04 - Episode 4</source><state>complete</state><title>Broadchurch - 1x04 - Episode 4</title><tvRating>nr</tvRating><updateDate>2013-08-16 18:17:45</updateDate><url>http://192.168.1.101:9032/TV%20Shows/Broadchurch/Series%201/Broadchurch%20-%201x04%20-%20Episode%204.mp4?Format=video/mpeg</url></bodyOffer>g
    DEBUG:pyTivo.mind:subscribe&bodyId=tsn:*****************
    {'uiType': 'cds', 'idSetSource': {'contentId': 'tivo:ct.bs.15000001', 'type': 'singleOfferSource', 'offerId': 'tivo:of.bs.15000001'}, 'bodyId': 'tsn:*****************', 'title': 'pcBodySubscription'}
    
    <subscribeResult><subscription><autoRecord>true</autoRecord><bodyGeneratesCandidates>false</bodyGeneratesCandidates><bodyId>tsn:*****************</bodyId><hdOnly>false</hdOnly><idSetSource><contentId>tivo:ct.bs.15000001</contentId><offerId>tivo:of.bs.15000001</offerId><type>singleOfferSource</type></idSetSource><isAdult>false</isAdult><isForKids>false</isForKids><levelOfDetail>high</levelOfDetail><showStatus>rerunsAllowed</showStatus><subscriptionId>tivo:sb.15000951</subscriptionId><title>pcBodySubscription</title><type>subscription</type><uiType>cds</uiType></subscription></subscribeResult>g
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:22] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Supernatural&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:24] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Supernatural/Season%201&Format=text/html HTTP/1.1" 200 -
    INFO:pyTivo.video.video:[16/Aug/2013 13:18:30] Queued "G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi" for Push to Bedroom1
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:30] "POST /TiVoConnect HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:35] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20Shows/Supernatural/Season%201&Format=text/html HTTP/1.1" 200 -
    DEBUG:pyTivo.video.transcode:ffmpeg output=ffmpeg version N-55515-gbbbd959 Copyright (c) 2000-2013 the FFmpeg developers
    
      built on Aug 13 2013 18:01:31 with gcc 4.7.3 (GCC)
    
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    
      libavutil      52. 42.100 / 52. 42.100
    
      libavcodec     55. 27.100 / 55. 27.100
    
      libavformat    55. 13.102 / 55. 13.102
    
      libavdevice    55.  3.100 / 55.  3.100
    
      libavfilter     3. 82.100 /  3. 82.100
    
      libswscale      2.  4.100 /  2.  4.100
    
      libswresample   0. 17.103 /  0. 17.103
    
      libpostproc    52.  3.100 / 52.  3.100
    
    [mpeg4 @ 026d8080] Invalid and inefficient vfw-avi packed B frames detected
    
    Input #0, avi, from 'G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi':
    
      Metadata:
    
        encoder         : VirtualDubMod 1.5.10.1 (build 2439/release)
    
      Duration: 00:41:31.12, start: 0.000000, bitrate: 1178 kb/s
    
        Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 25 tbr, 25 tbn, 25 tbc
    
        Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s
    
    At least one output file must be specified
    
    
    DEBUG:pyTivo.video.transcode:aFreq=48000; aCh=2; container=avi; kbps=1178; mapAudio=[('0:1', ' mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s\r')]; vHeight=352; vCodec=mpeg4; Supported=True; aKbps=128; par=None; millisecs=2491120; vFps=25.00; par2=None; par1=None; mapVideo=0:0; vWidth=640; dar1=20:11; rawmeta={'encoder': [u'VirtualDubMod 1.5.10.1 (build 2439/release)']}; aCodec=mp3
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec mpeg4 not compatible, G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:tsn: ***************************
    DEBUG:pyTivo.video.transcode:aspect169: False
    DEBUG:pyTivo.video.transcode:optres: True
    DEBUG:pyTivo.video.transcode:File=G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi vCodec=mpeg4 vWidth=640 vHeight=352 vFps=25.00 millisecs=2491120 TIVO_HEIGHT=480 TIVO_WIDTH=544
    DEBUG:pyTivo.video.transcode:rheight=11 rwidth=20
    DEBUG:pyTivo.video.transcode:File is within 16:9 list and 16:9 allowed.
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:audio_lang: None
    DEBUG:pyTivo.video.transcode:set first detected audio stream by default: 0:1
    DEBUG:pyTivo.video.transcode:selected audio stream: 0:1
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec mpeg4 not compatible, G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.video.transcode:CACHE HIT! G:\My Videos\TV Shows\Supernatural\Season 1\Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi
    DEBUG:pyTivo.mind:__login
    {'cams_security_domain': 'tivocom', 'cams_login_config': 'http', 'cams_cb_password': '***********', 'cams_original_url': '/mind/mind7?type=infoGet', 'cams_cb_username': '********************'}
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:38] "GET / 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>tivo:pc.1002412911</pcBodyId><type>pcBody</type></pcBody></pcBodyList>g
    DEBUG:pyTivo.mind:bodyOfferModify&bodyId=tsn:******************
    {'description': '', 'pcBodyId': 'tivo:pc.1002412911', 'publishDate': '2013-08-16 18:1838', 'partnerId': 'tivo:pt.3187', 'duration': 2491, 'size': 1443185760, 'title': 'Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS', 'url': 'http://192.168.1.101:9032/TV%20Shows/Supernatural/Season%201/Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi?Format=video/mpeg', 'bodyId': 'tsn:**************', 'source': 'Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS', 'state': 'complete', 'encodingType': 'mpeg2ProgramStream', 'tvRating': 'nr'}
    
    <bodyOffer><bodyId>tsn:*******************</bodyId><bodyOfferId>tivo:bo.15000011</bodyOfferId><createDate>2013-08-16 18:18:07</createDate><description /><duration>2491</duration><encodingType>mpeg2ProgramStream</encodingType><levelOfDetail>high</levelOfDetail><offerId>tivo:of.bs.15000011</offerId><partnerId>tivo:pt.3187</partnerId><pcBodyId>tivo:pc.1002412911</pcBodyId><publishDate>2013-08-18 00:38:00</publishDate><size>1443185760</size><source>Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS</source><state>complete</state><title>Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS</title><tvRating>nr</tvRating><updateDate>2013-08-16 18:18:07</updateDate><url>http://192.168.1.101:9032/TV%20Shows/Supernatural/Season%201/Supernatural.S01E05.Bloody.Mary.WS.DVDRip.XviD-SAiNTS.avi?Format=video/mpeg</url></bodyOffer>g
    DEBUG:pyTivo.mind:subscribe&bodyId=tsn:*****************
    {'uiType': 'cds', 'idSetSource': {'contentId': 'tivo:ct.bs.15000011', 'type': 'singleOfferSource', 'offerId': 'tivo:of.bs.15000011'}, 'bodyId': 'tsn:*****************', 'title': 'pcBodySubscription'}
    
    <subscribeResult><subscription><autoRecord>true</autoRecord><bodyGeneratesCandidates>false</bodyGeneratesCandidates><bodyId>tsn:****************</bodyId><hdOnly>false</hdOnly><idSetSource><contentId>tivo:ct.bs.15000011</contentId><offerId>tivo:of.bs.15000011</offerId><type>singleOfferSource</type></idSetSource><isAdult>false</isAdult><isForKids>false</isForKids><levelOfDetail>high</levelOfDetail><showStatus>rerunsAllowed</showStatus><subscriptionId>tivo:sb.15000961</subscriptionId><title>pcBodySubscription</title><type>subscription</type><uiType>cds</uiType></subscription></subscribeResult>g
    INFO:pyTivo:127.0.0.1 [16/Aug/2013 13:18:42] "GET /TiVoConnect?Command=NPL&Container=ToGo&TiVo=192.168.1.20 HTTP/1.1" 200 -
    Are the two errors above related to my inability (STILL) to run pyTiVo properly? (Remember, I have to have a CMD window up and running for it to operate).

    IS the reason "Broadchurch" failed to transfer with the latest "ffmpeg" because of the Original Aspect Ratio?

    If yes..., I guess, I got to go back to my old ffmpeg again.
     
  5. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston
    Thinking of adding a mini to work with the new Roamio and replace one of my Premieres that is in the kitchen.

    Anyway, can a mini see PyTivo shares and pull video like the full TiVo it is connected to?
     
  6. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    No. To where would you expect it to be pulled? The shares would have to visable to the mini in the NPL of the Premiere being browsed and then pulled to that Premier from whence they could be streamed to the mini. At this point, the only thing I can think of that doesn't involve directly accessing the Premiere would be to use the pyTivo browser interface to push the recording to the Premiere and wait for the xfer to complete.
     
  7. larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    So the mini cannot stream the video from the Tivo while it is transferring from the PC to said Tivo?

    If not, no minis for me except maybe in a workout room or kitchen where I would never need to watch my movie shares.
     
  8. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    The Mini remote My Shows page works nearly the same as the TiVo to TiVo My Shows. You have never been able to pull shows to another TiVo through a TiVo.

    You could use the web interface via mobile phone, tablet, or PC to push videos though to the TiVo you are viewing with the Mini.
     
  9. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    I did not say that. There is just no way to initiate a pull from the Mini and I am not sure you can stream an in progress pushed recording.
     
  10. monkeydust

    monkeydust New Member

    493
    0
    Dec 12, 2004
    I'm a new user to pyTivo and have watched a few shows I've transferred without issue. But, I transferred one the other day that plays fine but will not let me fast forward. I had stopped the show 1/4 of the way into it and came back to find it was back at the beginning. So, I tried to FF but it doesn't work. This a common issue with some shows and is there a fix for it? Thanks.
     
  11. jhilla

    jhilla Guest

    114
    0
    May 13, 2011
    To keep it easy and smooth, please make sure you are using "Wmcbrine's" fork.
    https://github.com/wmcbrine/pytivo This is up to date and simplified.
     
  12. monkeydust

    monkeydust New Member

    493
    0
    Dec 12, 2004
    Yeah, that's the one I used as the Windows installation instructions recommended for first time users.
     
  13. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    This is a common issue with MPEG-1 files (VCD, etc.). pyTivo will generally remux those before sending them; but if you have MPEG-2 video in an MPEG-1 container, pyTivo can't detect the need to remux. The solution in that case is to force pyTivo to remux, by giving the file a bogus container type, via the metadata file:

    Override_container: foo
     
  14. Sep 2, 2013 #4434 of 5683
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    This show plays very choppy, meaning when you see fast movement in a frame it appears very jerky like freeze frames. You can also hear garble in the sound. Do you see anything in my ffmpeg that might be causing this? The show plays fine on my laptop.

    Any idea why it's dropping so many frames? Could that be the problem?

    Code:
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:26] "GET /Lenny/Hill%20Street/07/S07E21%20Pound%20of%20Flesh,%20A.mkv?Format=video%2Fx-tivo-mpeg HTTP/1.1" 206 -
    INFO:pyTivo.video.video:[02/Sep/2013 14:13:26] Start sending "/video/Hill Street/07/edited.mkv" to FamRoom
    ffmpeg version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jul 19 2013 07:03:17 with gcc 4.7 (Debian 4.7.2-5)
      configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --disab  libavutil      51. 73.101 / 51. 73.101
      libavcodec     54. 59.100 / 54. 59.100
      libavformat    54. 29.104 / 54. 29.104
      libavdevice    54.  2.101 / 54.  2.101
      libavfilter     3. 17.100 /  3. 17.100
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [matroska,webm @ 0x822cfa0] Unknown entry 0x80
    Input #0, matroska,webm, from '/video/Hill Street/07/edited, A.mkv':
      Duration: 00:46:37.77, start: 0.000000, bitrate: 1514 kb/s
        Chapter #0.0: start 0.000000, end 2797.770000
        Metadata:
          title           : Chapter 01
        Stream #0:0(eng): Video: h264 (High), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0:1: Audio: mp3, 48000 Hz, stereo, s16, 160 kb/s (default)
    Please use -b:a or -b:v, -b is ambiguous
    Output #0, vob, to 'pipe:':
      Metadata:
        encoder         : Lavf54.29.104
        Chapter #0.0: start 0.000000, end 2797.770000
        Metadata:
          title           : Chapter 01
        Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 8192 kb/s, 90k tbn, 23.98 tbc (default)
        Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg2video)
      Stream #0:1 -> #0:1 (mp3 -> ac3)
    Press [q] to stop, [?] for help
    frame=   35 fps=0.0 q=2.0 size=     134kB time=00:00:01.45 bitrate= 752.6kbits/s dup=1 drop=6    
    frame=   70 fps= 70 q=2.0 size=     314kB time=00:00:02.93 bitrate= 875.3kbits/s dup=1 drop=15    
    frame=  105 fps= 70 q=2.0 size=     504kB time=00:00:04.30 bitrate= 958.7kbits/s dup=1 drop=23    
    frame=  116 fps= 53 q=2.0 size=     600kB time=00:00:04.81 bitrate=1020.0kbits/s dup=1 drop=26    
    frame=  137 fps= 51 q=2.0 size=     876kB time=00:00:05.72 bitrate=1254.0kbits/s dup=1 drop=31    
    frame=  158 fps= 47 q=1.6 size=    1122kB time=00:00:06.55 bitrate=1402.3kbits/s dup=1 drop=37    
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:30] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:30] "GET /TiVoConnect?Command=QueryContainer&Container=Lenny%2FHill%20Street%2F07&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    frame=  181 fps= 47 q=2.0 size=    1382kB time=00:00:07.57 bitrate=1493.8kbits/s dup=1 drop=43    
    frame=  197 fps= 40 q=2.0 size=    1604kB time=00:00:08.25 bitrate=1592.6kbits/s dup=1 drop=46    
    frame=  222 fps= 41 q=2.0 size=    1900kB time=00:00:09.21 bitrate=1689.9kbits/s dup=1 drop=53    
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:32] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:32] "GET /TiVoConnect?Command=QueryContainer&Container=Lenny%2FHill%20Street&SortOrder=!CaptureDate&ItemCount=8&AnchorItem=%2FTiVoConnect%3FCommand%3DQueryContainer%26Container%3DLenny%2FHill%2520Street%2F07&AnchorOffset=-7&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    frame=  243 fps= 38 q=2.0 size=    2152kB time=00:00:10.13 bitrate=1740.2kbits/s dup=1 drop=58    
    frame=  268 fps= 39 q=2.0 size=    2436kB time=00:00:11.13 bitrate=1792.9kbits/s dup=1 drop=64    
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:34] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.195 [02/Sep/2013 14:13:34] "GET /TiVoConnect?Command=QueryContainer&Container=Lenny&SortOrder=!CaptureDate&ItemCount=8&AnchorItem=%2FTiVoConnect%3FCommand%3DQueryContainer%26Container%3DLenny%2FHill%2520Street&AnchorOffset=-4&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    frame=  287 fps= 36 q=2.0 size=    2646kB time=00:00:11.96 bitrate=1812.0kbits/s dup=1 drop=69    
    frame=  311 fps= 37 q=2.0 size=    2924kB time=00:00:12.95 bitrate=1849.0kbits/s dup=1 drop=75    
    frame=  335 fps= 34 q=2.0 size=    3150kB time=00:00:13.94 bitrate=1850.2kbits/s dup=1 drop=81    
    frame=  359 fps= 35 q=2.0 size=    3408kB time=00:00:14.90 bitrate=1872.9kbits/s dup=1 drop=87
     
  15. Sep 2, 2013 #4435 of 5683
    monkeydust

    monkeydust New Member

    493
    0
    Dec 12, 2004
    Sorry, how do I do that? I tried adding that to Global settings but it threw some error and wouldn't transfer.

    EDIT: Nevermind. I deleted it and transferred it again, and now the FF is working properly.
     
  16. Sep 2, 2013 #4436 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    No. But, you might want to try a transfer method that won't reencode the video -- either a push, or a pull with the "ts = on" option added to your pyTivo.conf.

    A pyTivo metadata file is a text file with the name of the video file (including the extension), in the same directory*, with the added extension ".txt". This is one of the most fundamental things to know about when operating pyTivo. See: http://pytivo.sourceforge.net/wiki/index.php/Metadata

    They say that the definition of insanity is doing the same thing, and expecting a different result. For that to actually work, something is very wrong. ;)

    * There are other possible locations, but I'm keeping it simple.
     
  17. Sep 2, 2013 #4437 of 5683
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    I put "ts = on" in the server section of the pyTivo.conf file and no difference detected.

    I also found this old thread http://pytivo.sourceforge.net/forum/mkv-hd-720p-files-showing-choppy-sound-t1245.html that suggested reincoding the audio to ac3 using MKV2AC3. That worked for the audio. It's clear as a bell but the video is still choppy. I will keep searching to see if there is a fix for the video but I have to wonder why ffmpeg can't make these fixes???

    I would hate to have to recode all these files since I have all seven seasons.

    Thanks for the help.

    ps....

    i think from looking at this the ts = on didn't stop it from being encoded. The ac3 is passing strait through but the video is being converted from h264 to mpeg2video from my guess.

    Code:
    Output #0, vob, to 'pipe:':
      Metadata:
        encoder         : Lavf54.29.104
        Chapter #0.0: start 0.000000, end 2797.792000
        Metadata:
          title           : Chapter 01
        Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 16384 kb/s, 90k tbn, 23.98 tbc (default)
        Stream #0:1: Audio: ac3, 48000 Hz, stereo, 448 kb/s (default) (forced)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg2video)
      Stream #0:1 -> #0:1 (copy)
     
  18. Sep 2, 2013 #4438 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    It only works with Series 4 or later (or AUS/NZ Series 3).

    Try a push.
     
  19. Sep 2, 2013 #4439 of 5683
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Correct, that setting works on my Premier. I will try a push to the HD later but I generally have to wait for the complete show to transfer before I can watch it. Not sure why it does that???

    Code:
    Output #0, mpegts, to 'pipe:':
      Metadata:
        encoder         : Lavf54.29.104
        Chapter #0.0: start 0.000000, end 2796.635500
        Metadata:
          title           : Chapter 01
        Stream #0:0(eng): Video: h264, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default)
        Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (mp3 -> ac3)
    Wow, with that setting the complete show transferred to the premier in less than 2 minutes. I can dig this setting...
     
  20. Sep 3, 2013 #4440 of 5683
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Now I can't get pushes to work. They queue but never send to the Tivo. I think this is the problem, any idea what this is saying?

    Code:
    ERROR:pyTivo.video.video:<urlopen error [Errno -2] Name or service not known>
    Edit...

    I think I figured it out, I'm not able to resolve mind.tivo.com so I change it to 204.176.49.65 and it worked.

    I also noticed I can't use "git pull" to update pyTivo. This obviously has to do with my recent update to ipv6. I can do nslookup and it resolves fine so I wonder if there is a way to force pyTivo to use ip4 instead of ip6?

    Edit...

    never mind, figured it out, my router had again lost it's ipv6 address. I'm not happy with Comcast and ipv6 and don't know why the router doesn't use ipv4 when it looses the ipv6 address. They got some work to do before the general roll out.

    Pushing to the TivoHD didn't make a difference with "ts = on". Looks like it still converted the file.

    Code:
    Output #0, vob, to 'pipe:':
      Metadata:
        encoder         : Lavf54.29.104
        Chapter #0.0: start 0.000000, end 2796.201750
        Metadata:
          title           : Chapter 01
        Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 16384 kb/s, 90k tbn, 23.98 tbc (default)
        Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg2video)
      Stream #0:1 -> #0:1 (mp3 -> ac3)
     

Share This Page