pyTivo - Transcoding server

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

  1. lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    You might try assigning fixed IP addresses to computer and TiVos.
     
  2. derek87

    derek87 New Member

    23
    0
    Oct 21, 2015
    thanks for the confirmation that it should work without a hitch.

    i continue to have odd behaviors. i miswrote in my prior email -- i was actually pulling from the tivo.

    today, i set it up to push from the Mac. that worked for one file. when i tried to do another, it went back to the state of trying to transfer the file but with zero bitrate.

    any suggestions on where my problem lies or have you seen this sort of odd behavior before? i can clearly see the Mac from the Tivo and it seems to connect fine from the Mac end... i just don't understand what is going wrong in the transfer...

    in the end, i tried resetting the pytivo server and when it came back up, it gave me the message:

    INFO:pyTivo.video.video:[31/Oct/2015 17:28:33] Done sending "/Volumes/WakingHour/Eyetvfiles/Modern Family_TheClosetCase.eyetv/000000001bc62148.mpg" to Family Room, 0 bytes, 0.00 Mb/s

    the file sitting there on the Tivo is not playable...when i try to play, it basically jumps to a delete menu even though i'm asking to play it.

    i tried to start another file and this gives an idea of what i'm seeing for subsequent pushes after the first one is successful:

    ies_2010Game5.eyetv/00000000127f84bc.mpg?Format=video%2Fmpeg HTTP/1.1" 206 -
    INFO:pyTivo.video.video:[31/Oct/2015 17:45:35] Start sending "/Volumes/WakingHour/WorldSeries_eyetvvideos/World Series_2010Game5.eyetv/00000000127f84bc.mpg" to Family Room
    ffmpeg version 1.1-pytivo Copyright (c) 2000-2013 the FFmpeg developers
    built on Jan 8 2013 15:00:31 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2+universal)
    configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --mandir=/opt/local/share/man --enable-pthreads --cc=/opt/local/bin/gcc-mp-4.7 --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --disable-shared --enable-static --enable-swscale --enable-avfilter --enable-runtime-cpudetect --enable-hardcoded-tables --enable-postproc --enable-libx264
    libavutil 52. 13.100 / 52. 13.100
    libavcodec 54. 86.100 / 54. 86.100
    libavformat 54. 59.106 / 54. 59.106
    libavdevice 54. 3.102 / 54. 3.102
    libavfilter 3. 32.100 / 3. 32.100
    libswscale 2. 1.103 / 2. 1.103
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    [mpeg2video @ 0x101806000] mpeg_decode_postinit() failure
    Last message repeated 3 times
    [mpegts @ 0x101825e00] PES packet size mismatch
    [mpeg2video @ 0x101806000] mpeg_decode_postinit() failure
    Last message repeated 4 times
    [mpegts @ 0x101825e00] PES packet size mismatch
    [mpeg2video @ 0x101806000] mpeg_decode_postinit() failure
    [mpegts @ 0x101825e00] PES packet size mismatch
    [mpegts @ 0x101825e00] max_analyze_duration 5000000 reached at 5024000
    [mpegts @ 0x101825e00] PES packet size mismatch
    Last message repeated 1 times
    Input #0, mpegts, from '/Volumes/WakingHour/WorldSeries_eyetvvideos/World Series_2010Game5.eyetv/00000000127f84bc.mpg':
    Duration: 03:25:03.01, start: 44958.418289, bitrate: 19659 kb/s
    Program 3
    Program 1
    Program 2
    Stream #0:0[0x840]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0:1[0x841](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:2[0x842](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 96 kb/s
    Please use -b:a or -b:v, -b is ambiguous
    Output #0, vob, to 'pipe:':
    Metadata:
    encoder : Lavf54.59.106
    Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 90k tbn, 59.94 tbc
    Stream #0:1(eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), 448 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mpegts @ 0x101825e00] PES packet size mismatch
    frame= 1126 fps=0.0 q=-1.0 size= 0kB time=00:00:18.90 bitrate= 0.0kbits/s frame= 1657 fps=1653 q=-1.0 size= 0kB time=00:00:27.76 bitrate= 0.0kbits/sframe= 2050 fps=1363 q=-1.0 size= 0kB time=00:00:34.31 bitrate= 0.0kbits/sframe= 2383 fps=1189 q=-1.0 size= 0kB time=00:00:39.87 bitrate= 0.0kbits/sframe= 2669 fps=1065 q=-1.0 size= 0kB time=00:00:44.64 bitrate= 0.0kbits/sframe= 2927 fps=973 q=-1.0 size= 0kB time=00:00:48.94 bitrate= 0.0kbits/s frame= 3160 fps=900 q=-1.0 size= 0kB time=00:00:52.83 bitrate= 0.0kbits/s frame= 3378 fps=841 q=-1.0 size= 0kB time=00:00:56.47 bitrate= 0.0kbits/s frame= 3580 fps=793 q=-1.0 size= 0kB time=00:00:59.84 bitrate= 0.0kbits/s frame= 3770 fps=751 q=-1.0 size= 0kB time=00:01:03.01 bitrate= 0.0kbits/s frame= 3953 fps=716 q=-1.0 size= 0kB time=00:01:06.06 bitrate= 0.0kbits/s frame= 4128 fps=685 q=-1.0 size= 0kB time=00:01:08.98 bitrate= 0.0kbits/s frame= 4297 fps=658 q=-1.0 size= 0kB time=00:01:11.80 bitrate= 0.0kbits/s frame= 4460 fps=634 q=-1.0 size= 0kB time=00:01:14.52 bitrate= 0.0kbits/s frame= 4616 fps=612 q=-1.0 size= 0kB time=00:01:17.12 bitrate= 0.0kbits/s frame= 4761 fps=592 q=-1.0 size= 0kB time=00:01:19.54 bitrate= 0.0kbits/s frame= 4904 fps=574 q=-1.0 size= 0kB time=00:01:21.93 bitrate= 0.0kbits/s frame= 5049 fps=558 q=-1.0 size= 0kB time=00:01:24.35 bitrate= 0.0kbits/s frame= 5185 fps=543 q=-1.0 size= 0kB time=00:01:26.61 bitrate= 0.0kbits/s frame= 5314 fps=528 q=-1.0 size= 0kB time=00:01:28.77 bitrate= 0.0kbits/s frame= 5449 fps=516 q=-1.0 size= 0kB time=00:01:31.02 bitrate= 0.0kbits/s frame= 5577 fps=504 q=-1.0 size= 0kB time=00:01:33.15 bitrate= 0.0kbits/s frame= 5700 fps=493 q=-1.0 size= 0kB time=00:01:35.21 bitrate= 0.0kbits/s frame= 5823 fps=483 q=-1.0 size= 0kB time=00:01:37.26 bitrate= 0.0kbits/s frame= 5937 fps=472 q=-1.0 size= 0kB time=00:01:39.16 bitrate= 0.0kbits/s frame= 6057 fps=463 q=-1.0 size= 0kB time=00:01:41.16 bitrate= 0.0kbits/s frame= 6168 fps=454 q=-1.0 size= 0kB time=00:01:43.01 bitrate= 0.0kbits/s frame= 6278 fps=446 q=-1.0 size= 0kB time=00:01:44.85 bitrate= 0.0kbits/s frame= 6392 fps=438 q=-1.0 size= 0kB time=00:01:46.75 bitrate= 0.0kbits/s frame= 6485 fps=430 q=-1.0 size= 0kB time=00:01:48.30 bitrate= 0.0kbits/s frame= 6589 fps=422 q=-1.0 size= 0kB time=00:01:50.04 bitrate= 0.0kbits/s frame= 6687 fps=415 q=-1.0 size= 0kB time=00:01:51.67 bitrate= 0.0kbits/s frame= 6785 fps=409 q=-1.0 size= 0kB time=00:01:53.31 bitrate= 0.0kbits/s frame= 6877 fps=402 q=-1.0 size= 0kB time=00:01:54.84 bitrate= 0.0kbits/s frame= 6978 fps=396 q=-1.0 size= 0kB time=00:01:56.53 bitrate= 0.0kbits/s frame= 7072 fps=391 q=-1.0 size= 0kB time=00:01:58.10 bitrate= 0.0kbits/s frame= 7161 fps=385 q=-1.0 size= 0kB time=00:01:59.58 bitrate= 0.0kbits/s frame= 7262 fps=380 q=-1.0 size= 0kB time=00:02:01.27 bitrate= 0.0kbits/s frame= 7354 fps=375 q=-1.0 size= 0kB time=00:02:02.80 bitrate= 0.0kbits/s frame= 7446 fps=370 q=-1.0 size= 0kB time=00:02:04.34 bitrate= 0.0kbits/s frame= 7533 fps=365 q=-1.0 size= 0kB time=00:02:05.79 bitrate= 0.0kbits/s frame= 7625 fps=361 q=-1.0 size= 0kB time=00:02:07.32 bitrate= 0.0kbits/s frame= 7715 fps=356 q=-1.0 size= 0kB time=00:02:08.82 bitrate= 0.0kbits/s frame= 7800 fps=352 q=-1.0 size= 0kB time=00:02:10.24 bitrate= 0.0kbits/s frame= 7885 fps=348 q=-1.0 size= 0kB time=00:02:11.66 bitrate= 0.0kbits/s frame= 7973 fps=344 q=-1.0 size= 0kB time=00:02:13.13 bitrate= 0.0kbits/s frame= 8047 fps=340 q=-1.0 size= 0kB time=00:02:14.36 bitrate= 0.0kbits/s frame= 8139 fps=337 q=-1.0 size= 0kB time=00:02:15.90 bitrate= 0.0kbits/s frame= 8218 fps=333 q=-1.0 size= 0kB time=00:02:17.22 bitrate= 0.0kbits/s frame= 8301 fps=330 q=-1.0 size= 0kB time=00:02:18.60 bitrate= 0.0kbits/s frame= 8389 fps=327 q=-1.0 size= 0kB time=00:02:20.07 bitrate= 0.0kbits/s frame= 8466 fps=323 q=-1.0 size= 0kB time=00:02:21.35 bitrate= 0.0kbits/s frame= 8528 fps=319 q=-1.0 size= 0kB time=00:02:22.39 bitrate= 0.0kbits/s frame= 8602 fps=316 q=-1.0 size= 0kB time=00:02:23.62 bitrate= 0.0kbits/s frame= 8683 fps=313 q=-1.0 size= 0kB time=00:02:24.97 bitrate= 0.0kbits/s frame= 8760 fps=311 q=-1.0 size= 0kB time=00:02:26.26 bitrate= 0.0kbits/s frame= 8838 fps=308 q=-1.0 size= 0kB time=00:02:27.56 bitrate= 0.0kbits/s frame= 8911 fps=305 q=-1.0 size= 0kB time=00:02:28.78 bitrate= 0.0kbits/s frame= 8982 fps=302 q=-1.0 size= 0kB time=00:02:29.96 bitrate= 0.0kbits/s frame= 9055 fps=299 q=-1.0 size= 0kB time=00:02:31.18 bitrate= 0.0kbits/s frame= 9131 fps=297 q=-1.0 size= 0kB time=00:02:32.45 bitrate= 0.0kbits/s frame= 9202 fps=294 q=-1.0 size= 0kB time=00:02:33.63 bitrate= 0.0kbits/s frame= 9280 fps=292 q=-1.0 size= 0kB time=00:02:34.93 bitrate= 0.0kbits/s frame= 9354 fps=290 q=-1.0 size= 0kB time=00:02:36.17 bitrate= 0.0kbits/s frame= 9419 fps=287 q=-1.0 size= 0kB time=00:02:37.25 bitrate= 0.0kbits/s frame= 9486 fps=285 q=-1.0 size= 0kB time=00:02:38.37 bitrate= 0.0kbits/s frame= 9552 fps=283 q=-1.0 size= 0kB time=00:02:39.47 bitrate= 0.0kbits/s frame= 9628 fps=281 q=-1.0 size= 0kB time=00:02:40.74 bitrate= 0.0kbits/s frame= 9688 fps=278 q=-1.0 size= 0kB time=00:02:41.74 bitrate= 0.0kbits/s frame= 9766 fps=277 q=-1.0 size= 0kB time=00:02:43.04 bitrate= 0.0kbits/s frame= 9835 fps=275 q=-1.0 size= 0kB time=00:02:44.19 bitrate= 0.0kbits/s frame= 9903 fps=273 q=-1.0 size= 0kB time=00:02:45.33 bitrate= 0.0kbits/s frame= 9970 fps=271 q=-1.0 size= 0kB time=00:02:46.44 bitrate= 0.0kbits/s frame=10035 fps=269 q=-1.0 size= 0kB time=00:02:47.53 bitrate= 0.0kbits/s frame=10095 fps=267 q=-1.0 size= 0kB time=00:02:48.53 bitrate= 0.0kbits/s frame=10168 fps=265 q=-1.0 size= 0kB time=00:02:49.75 bitrate= 0.0kbits/s frame=10235 fps=263 q=-1.0 size= 0kB time=00:02:50.87 bitrate= 0.0kbits/s frame=10301 fps=262 q=-1.0 size= 0kB time=00:02:51.97 bitrate= 0.0kbits/s frame=10363 fps=260 q=-1.0 size= 0kB time=00:02:53.00 bitrate= 0.0kbits/s frame=10429 fps=258 q=-1.0 size= 0kB time=00:02:54.10 bitrate= 0.0kbits/s frame=10490 fps=256 q=-1.0 size= 0kB time=00:02:55.12 bitrate= 0.0kbits/s frame=10553 fps=255 q=-1.0 size= 0kB time=00:02:56.17 bitrate= 0.0kbits/s frame=10617 fps=253 q=-1.0 size= 0kB time=00:02:57.24 bitrate= 0.0kbits/s frame=10681 fps=252 q=-1.0 size= 0kB time=00:02:58.31 bitrate= 0.0kbits/s frame=10745 fps=250 q=-1.0 size= 0kB time=00:02:59.37 bitrate= 0.0kbits/s frame=10804 fps=249 q=-1.0 size= 0kB time=00:03:00.36 bitrate= 0.0kbits/s frame=10869 fps=247 q=-1.0 size= 0kB time=00:03:01.44 bitrate= 0.0kbits/s frame=10926 fps=246 q=-1.0 size= 0kB time=00:03:02.39 bitrate= 0.0kbits/s frame=10987 fps=244 q=-1.0 size= 0kB time=00:03:03.41 bitrate= 0.0kbits/s frame=11048 fps=243 q=-1.0 size= 0kB time=00:03:04.43 bitrate= 0.0kbits/s frame=11106 fps=241 q=-1.0 size= 0kB time=00:03:05.40 bitrate= 0.0kbits/s frame=11166 fps=240 q=-1.0 size= 0kB time=00:03:06.40 bitrate= 0.0kbits/s frame=11226 fps=239 q=-1.0 size= 0kB time=00:03:07.40 bitrate= 0.0kbits/s frame=11284 fps=237 q=-1.0 size= 0kB time=00:03:08.37 bitrate= 0.0kbits/s frame=11340 fps=236 q=-1.0 size= 0kB time=00:03:09.30 bitrate= 0.0kbits/s frame=11397 fps=235 q=-1.0 size= 0kB time=00:03:10.25 bitrate= 0.0kbits/s frame=11454 fps=233 q=-1.0 size= 0kB time=00:03:11.20 bitrate= 0.0kbits/s frame=11516 fps=232 q=-1.0 size= 0kB time=00:03:12.24 bitrate= 0.0kbits/s frame=11571 fps=231 q=-1.0 size= 0kB time=00:03:13.15 bitrate= 0.0kbits/s frame=11632 fps=230 q=-1.0 size= 0kB time=00:03:14.17 bitrate= 0.0kbits/s frame=11688 fps=229 q=-1.0 size= 0kB time=00:03:15.11 bitrate= 0.0kbits/s frame=11740 fps=228 q=-1.0 size= 0kB time=00:03:15.97 bitrate= 0.0kbits/s frame=11799 fps=226 q=-1.0 size= 0kB time=00:03:16.96 bitrate= 0.0kbits/s frame=11856 fps=225 q=-1.0 size= 0kB time=00:03:17.91 bitrate= 0.0kbits/s frame=11911 fps=224 q=-1.0 size= 0kB time=00:03:18.83 bitrate= 0.0kbits/s frame=11965 fps=223 q=-1.0 size= 0kB time=00:03:19.73 bitrate= 0.0kbits/s frame=12023 fps=222 q=-1.0 size= 0kB time=00:03:20.70 bitrate= 0.0kbits/s frame=12077 fps=221 q=-1.0 size= 0kB time=00:03:21.60 bitrate= 0.0kbits/s frame=12132 fps=220 q=-1.0 size= 0kB time=00:03:22.51 bitrate= 0.0kbits/s frame=12191 fps=219 q=-1.0 size= 0kB time=00:03:23.50 bitrate= 0.0kbits/s frame=12238 fps=218 q=-1.0 size= 0kB time=00:03:24.28 bitrate= 0.0kbits/s frame=12297 fps=217 q=-1.0 size= 0kB time=00:03:25.27 bitrate= 0.0kbits/s frame=12356 fps=216 q=-1.0 size= 0kB time=00:03:26.25 bitrate= 0.0kbits/s frame=12407 fps=215 q=-1.0 size= 0kB time=00:03:27.10 bitrate= 0.0kbits/s frame=12460 fps=214 q=-1.0 size= 0kB time=00:03:27.99 bitrate= 0.0kbits/s frame=12516 fps=213 q=-1.0 size= 0kB time=00:03:28.92 bitrate= 0.0kbits/s frame=12564 fps=212 q=-1.0 size= 0kB time=00:03:29.72 bitrate= 0.0kbits/s frame=12618 fps=211 q=-1.0 size= 0kB time=00:03:30.62 bitrate= 0.0kbits/s frame=12669 fps=210 q=-1.0 size= 0kB time=00:03:31.47 bitrate= 0.0kbits/s frame=12720 fps=209 q=-1.0 size= 0kB time=00:03:32.32 bitrate= 0.0kbits/s frame=12774 fps=208 q=-1.0 size= 0kB time=00:03:33.22 bitrate= 0.0kbits/s frame=12827 fps=208 q=-1.0 size= 0kB time=00:03:34.11 bitrate= 0.0kbits/s frame=12875 fps=207 q=-1.0 size= 0kB time=00:03:34.91 bitrate= 0.0kbits/s frame=12931 fps=206 q=-1.0 size= 0kB time=00:03:35.84 bitrate= 0.0kbits/s frame=12981 fps=205 q=-1.0 size= 0kB time=00:03:36.68 bitrate= 0.0kbits/s frame=13035 fps=204 q=-1.0 size= 0kB time=00:03:37.58 bitrate= 0.0kbits/s frame=13085 fps=203 q=-1.0 size= 0kB time=00:03:38.41 bitrate= 0.0kbits/s frame=13141 fps=203 q=-1.0 size= 0kB time=00:03:39.35 bitrate= 0.0kbits/s frame=13192 fps=202 q=-1.0 size= 0kB time=00:03:40.20 bitrate= 0.0kbits/s frame=13248 fps=201 q=-1.0 size= 0kB time=00:03:41.13 bitrate= 0.0kbits/s frame=13297 fps=200 q=-1.0 size= 0kB time=00:03:41.95 bitrate= 0.0kbits/s frame=13352 fps=200 q=-1.0 size= 0kB time=00:03:42.87 bitrate= 0.0kbits/s frame=13401 fps=199 q=-1.0 size= 0kB time=00:03:43.69 bitrate= 0.0kbits/s frame=13449 fps=198 q=-1.0 size= 0kB time=00:03:44.49 bitrate= 0.0kbits/s frame=13503 fps=197 q=-1.0 size= 0kB time=00:03:45.39 bitrate= 0.0kbits/s frame=13549 fps=197 q=-1.0 size= 0kB time=00:03:46.15 bitrate= 0.0kbits/s frame=13600 fps=196 q=-1.0 size= 0kB time=00:03:47.01 bitrate= 0.0kbits/s frame=13650 fps=195 q=-1.0 size= 0kB time=00:03:47.84 bitrate= 0.0kbits/s frame=13698 fps=194 q=-1.0 size= 0kB time=00:03:48.64 bitrate= 0.0kbits/s frame=13746 fps=194 q=-1.0 size= 0kB time=00:03:49.44 bitrate= 0.0kbits/s frame=13795 fps=193 q=-1.0 size= 0kB time=00:03:50.26 bitrate= 0.0kbits/s frame=13851 fps=192 q=-1.0 size= 0kB time=00:03:51.19 bitrate= 0.0kbits/s frame=13893 fps=192 q=-1.0 size= 0kB time=00:03:51.89 bitrate= 0.0kbits/s frame=13941 fps=191 q=-1.0 size= 0kB time=00:03:52.69 bitrate= 0.0kbits/s frame=13992 fps=190 q=-1.0 size= 0kB time=00:03:53.54 bitrate= 0.0kbits/s frame=14041 fps=190 q=-1.0 size= 0kB time=00:03:54.36 bitrate= 0.0kbits/s frame=14091 fps=189 q=-1.0 size= 0kB time=00:03:55.20 bitrate= 0.0kbits/s frame=14136 fps=188 q=-1.0 size= 0kB time=00:03:55.95 bitrate= 0.0kbits/s frame=14181 fps=188 q=-1.0 size= 0kB time=00:03:56.70 bitrate= 0.0kbits/s frame=14226 fps=187 q=-1.0 size= 0kB time=00:03:57.45 bitrate= 0.0kbits/s frame=14271 fps=186 q=-1.0 size= 0kB time=00:03:58.20 bitrate= 0.0kbits/s frame=14316 fps=186 q=-1.0 size= 0kB time=00:03:58.95 bitrate= 0.0kbits/s
     
  3. Nov 1, 2015 #5283 of 6026
    scht99

    scht99 New Member

    18
    0
    Oct 12, 2010
    Its all hard wired into the same switch.

    I suspect its my switch. Maybe its blocking multicast broadcasts? I'll install the management software and see if anything looks promising. I know it has QoS and other "features" that may be turned on by default.

    My switch is a Netgear JGS524E

    Does the bolt use the router at all (maybe broadcsts go to the gateway? Maybe my router is blocking?

    How does it actually work?
     
  4. Nov 2, 2015 #5284 of 6026
    scht99

    scht99 New Member

    18
    0
    Oct 12, 2010
    Wow. So I truned off "IGMP snooping" under the multicast tab which was enabled on my switch by default, and now everything that wasn't working reliably before including minis and PyTivo seems to be working!

    I think the Bolt is definately doing something different in the way it broadcasts.
     
  5. Dec 4, 2015 #5285 of 6026
    lew

    lew Well-Known Member

    4,220
    74
    Mar 12, 2002
    I tried ts=on

    I tried ts = 0n

    Both cases pull requests are causing the files to be transcoded to mpeg2. The files will push without transcoding

    ffmpeg doesn't like -b Do I need a different version of ffmpegj

    edited to add:


    I'm I missing something? Is there anyplace else I have to specify transport streams?
     
    Last edited: Dec 4, 2015
  6. Dec 4, 2015 #5286 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    What format are the files? In what section did you put ts = on? Did you stop and restart pyTivo after adding it?
     
  7. Dec 4, 2015 #5287 of 6026
    cherry ghost

    cherry ghost Well-Known Member

    6,086
    224
    Sep 13, 2005
    Chicago
    This is more of Windows 10 question, but I'll ask here first.

    I open pyTivo as a task when I log on. Always worked perfectly until Windows 10. Now I get asked every time "How do you want to open this file?" I select python.exe, check the "Always use this app to open .py files" box, click "ok", it runs. The problem is that it doesn't stick and I get asked again the next time I log on. Everywhere I check .py files are associated with python.exe. Anyone else use pyTivo this way and come across this problem?


    ETA - this only happens with Task Scheduler. If I open pyTivo by double clicking it opens right up.
     
  8. Dec 4, 2015 #5288 of 6026
    lew

    lew Well-Known Member

    4,220
    74
    Mar 12, 2002
    Global server settings

    I added Transport Streams then ts=on

    should there be a space on either side of the = sign?

    I rebooted computer

    I tried several mp4 files, all of which push without transcoding.

    I run pytivo as a service. Where can I find logs?
     
  9. Dec 4, 2015 #5289 of 6026
    cherry ghost

    cherry ghost Well-Known Member

    6,086
    224
    Sep 13, 2005
    Chicago

    Disregard, I figured it out.
     
  10. Dec 4, 2015 #5290 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    What do you mean by "I added Transport Streams"?

    Probably not necessary. That's what is created when you use the browser to modify the configuration.

    I suggest you post your pytivo.conf file (after removing sensitive data).

    Also wouldn't hurt to ensure that you are using a current pyTivo and ffmpeg.
     
  11. Dec 4, 2015 #5291 of 6026
    lew

    lew Well-Known Member

    4,220
    74
    Mar 12, 2002
    Web configuration tool has you name the entry hencr transport streams.

    I updated pytivo yesterday. I updated ffmpeg before my last post. I'll post file later. How does pytivo know tivo I'd s4 orlater?
     
  12. Dec 4, 2015 #5292 of 6026
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    When you added the user defined setting to the Global Server Settings, the Setting Name should have been

    ts

    and Setting Value

    on

    What I suspect is in your pytivo.conf file is a line in the Global Server Settings that reads:

    Transport Streams = ts=on

    where it should just be:

    ts = on
     
  13. Dec 4, 2015 #5293 of 6026
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,463
    674
    Aug 2, 2003
    "ts=on" just goes in the System section (i.e. Global server settings). There's no reason to be adding a section (?) called "Transport Streams", and pyTivo will ignore it (and any settings under it) if you do.

    You can derive the TiVo model from the first three digits of the TiVo Service Number, which is sent with each request to pyTivo. The specific test in this case is:

    Code:
    def is_ts_capable(tsn):  # tsn's of Tivos that support transport streams
        return bool(tsn and (tsn[0] >= '7' or tsn.startswith('663')))
     
  14. Dec 4, 2015 #5294 of 6026
    lew

    lew Well-Known Member

    4,220
    74
    Mar 12, 2002
    Bingo I edited pytivo.conf file to solve it. should have done that in the first place. I thought I was naming commenting the entry.
     
  15. Dec 5, 2015 #5295 of 6026
    HerronScott

    HerronScott Well-Known Member

    7,041
    987
    Jan 1, 2002
    Staunton, VA
    What was causing the problem?

    Scott
     
  16. Dec 5, 2015 #5296 of 6026
    cherry ghost

    cherry ghost Well-Known Member

    6,086
    224
    Sep 13, 2005
    Chicago
    You used to be able to list the file as the "Program/script." Now the file has to go in "Add arguments" with the program you want to open it with in "Program/script."

    I guess this change came with Windows 8, but I went from 7 to 10.

    This is what it looks like now.

    [​IMG]
     
  17. lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    A lot(most?) of the recordings I pull lately are apparently getting bad timecodes. The length in time as reported by the TiVo, including the progress bar, is much longer than than the actual recording.

    Example: Edited season 2 finale of "Fargo" is reported as 1h24m when pulled vs. 51m when pushed, the latter value being correct. In addition, the pulled version has some navigation problems.

    The sources are h.264 in either mkv or mp4 container, mostly created (by me) using VideoReDo. The original source for those is either mpeg2 or h.264 recorded off Comcast on Roamio. A few were acquired by other means.

    I appear to have fixed the problem prior to posting this by going back to an older version of ffmpeg.
     
  18. ShoutingMan

    ShoutingMan Member

    309
    3
    Jan 6, 2008
    pyTiVo is transferring shows but it's losing the Season and Episode numbers (which means I can't sort shows and don't know which show to watch next, without going to IMDB and hunting for the next episode by title. Barbaric, right?)

    Is there a typical cause of this and any solution or workaround?

    I did a hard drive upgrade (1TB to 3TB in Roamio Plus) and I'm transferring files back with pyTiVo. All shows were downloaded with cTivo in decrypted TiVo format with .txt metadata files.

    Generally, pytivo is transferring the shows back using Push (using Pull created inaccessible Tivo files with C501 errors). But as I said, the Season and Episode data is getting lost in most, but not all, files.

    For example, here's a metadata file from a file that transfer but doesn't keep S/E data:

    Code:
    showingBits : 987139
    time : 2014-03-11T00:00:00Z
    vActor : Leclerc|Katie
    vActor : Marano|Vanessa
    vActor : Marie|Constance
    vActor : Moffett|D.W.
    vActor : Thompson|Lea
    vActor : Grabeel|Lucas
    vActor : Berdy|Sean
    vActor : Marini|Gilles
    showingBits : 0
    colorCode : 4
    description : Daphne attends a clinic fundraiser; Bay deals with MaryBeth's feelings for Hank; Toby tutors Sharee in an effort to keep her on the field hockey team; John reunites with an old baseball colleague.
    episodeNumber : 309
    episodeTitle : The Past (Forgotten-Swallowed)
    vExecProducer : Weiss|Lizzy
    vExecProducer : Stupin|Paul
    vExecProducer : Ziffren|John
    isEpisode : true
    originalAirDate : 2014-03-10T00:00:00Z
    seriesTitle : Switched at Birth
    title : Switched at Birth
    tvRating : _14
    startTime : 2014-03-10T23:59:58Z
    stopTime : 2014-03-11T01:00:01Z
    seriesId : SH01384566
    displayMajorNumber : 699
    callsign : ABCFHD
    programId : EP013845660062
    The PyTiVo log yields this:
    Code:
    INFO:pyTivo.video.video:[21/Dec/2015 23:31:15] Queued "/Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg" for Push to Living Room
    INFO:pyTivo:127.0.0.1 [21/Dec/2015 23:31:15] "POST /TiVoConnect HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [21/Dec/2015 23:31:20] "GET /TiVoConnect?Command=QueryContainer&Container=TiVo%20Shows/Switched%20at%20Birth&Format=text/html HTTP/1.1" 200 -
    DEBUG:pyTivo.video.transcode:ffmpeg output=ffmpeg version 2.8.2 Copyright (c) 2000-2015 the FFmpeg developers
      built with Apple LLVM version 7.0.0 (clang-700.1.76)
      configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
      libavutil      54. 31.100 / 54. 31.100
      libavcodec     56. 60.100 / 56. 60.100
      libavformat    56. 40.101 / 56. 40.101
      libavdevice    56.  4.100 / 56.  4.100
      libavfilter     5. 40.101 /  5. 40.101
      libavresample   2.  1.  0 /  2.  1.  0
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  2.101 /  1.  2.101
      libpostproc    53.  3.100 / 53.  3.100
    [mpeg2video @ 0x7fab84010600] Invalid frame dimensions 0x0.
        Last message repeated 13 times
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=158238, dts=158239, size=3622
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=167247, dts=167248, size=20013
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=176256, dts=176257, size=8421
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=185265, dts=185266, size=10813
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=194274, dts=194275, size=5845
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=203283, dts=203284, size=9525
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=212292, dts=212293, size=15781
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=221301, dts=221302, size=7685
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=230310, dts=230311, size=7685
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=239319, dts=239320, size=5845
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=248328, dts=248329, size=8605
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=257337, dts=257338, size=19093
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=266346, dts=266347, size=8605
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=275355, dts=275356, size=9709
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=284364, dts=284365, size=6029
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=293373, dts=293374, size=8973
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=302382, dts=302383, size=19461
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=311391, dts=311392, size=8605
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=320400, dts=320401, size=8237
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=329409, dts=329410, size=5845
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=338418, dts=338419, size=8973
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=347427, dts=347428, size=19829
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=356436, dts=356437, size=8053
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=365445, dts=365446, size=10261
    [mpeg @ 0x7fab84800000] Invalid timestamps stream=1, pts=374454, dts=374455, size=6397
    Input #0, mpeg, from '/Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg':
      Duration: 00:59:59.91, start: 1.000000, bitrate: 14019 kb/s
        Stream #0:0[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
        Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, max. 14656 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    At least one output file must be specified
    
    DEBUG:pyTivo.video.transcode:Bug in VideoReDo
    DEBUG:pyTivo.video.transcode:aFreq=48000; aCh=6; container=mpeg; kbps=14019; mapAudio=[('0:0', '[0x80] ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s')]; vHeight=720; vCodec=mpeg2video; Supported=True; aKbps=384; par=None; millisecs=3599910; vFps=59.94; par2=None; par1=None; mapVideo=0:1; vWidth=1280; dar1=16:9; rawmeta={}; aCodec=ac3
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec mpeg2video not compatible, /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec mpeg2video not compatible, /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:TRANSCODE=NO, all compatible, /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:TRANSCODE=NO, all compatible, /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    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.1002895021</pcBodyId><type>pcBody</type></pcBody></pcBodyList>g
    DEBUG:pyTivo.mind:bodyOfferModify&bodyId=tsn:8480001901FDAD0
    {'subtitle': 'The Past (Forgotten-Swallowed)', 'description': "Daphne attends a clinic fundraiser; Bay deals with MaryBeth's feelings for Hank; Toby tutors Sharee in an effort to keep her on the field hockey team; John reunites with an old baseball colleague.", 'pcBodyId': 'tivo:pc.1002895021', 'publishDate': '2015-12-22 04:3123', 'partnerId': 'tivo:pt.3187', 'duration': 3599, 'size': 6308464642, 'title': 'Switched at Birth', 'url': 'http://10.0.1.9:9032/TiVo%20Shows/Switched%20at%20Birth/Switched%20at%20Birth-%20The%20Past%20%28Forgotten-Swallowed%29.mpg?Format=video/mpeg', 'bodyId': 'tsn:8480001901FDAD0', 'source': 'SH01384566', 'state': 'complete', 'encodingType': 'mpeg2ProgramStream', 'tvRating': 'nr'}
    
    <bodyOffer><bodyId>tsn:8480001901FDAD0</bodyId><bodyOfferId>tivo:bo.15000211</bodyOfferId><createDate>2015-12-22 04:31:24</createDate><description>Daphne attends a clinic fundraiser; Bay deals with MaryBeth's feelings for Hank; Toby tutors Sharee in an effort to keep her on the field hockey team; John reunites with an old baseball colleague.</description><duration>3599</duration><encodingType>mpeg2ProgramStream</encodingType><levelOfDetail>high</levelOfDetail><offerId>tivo:of.bs.15000211</offerId><partnerId>tivo:pt.3187</partnerId><pcBodyId>tivo:pc.1002895021</pcBodyId><publishDate>2015-12-24 08:03:00</publishDate><size>6308464642</size><source>SH01384566</source><state>complete</state><subtitle>The Past (Forgotten-Swallowed)</subtitle><title>Switched at Birth</title><tvRating>nr</tvRating><updateDate>2015-12-22 04:31:24</updateDate><url>http://10.0.1.9:9032/TiVo%20Shows/Switched%20at%20Birth/Switched%20at%20Birth-%20The%20Past%20%28Forgotten-Swallowed%29.mpg?Format=video/mpeg</url></bodyOffer>g
    DEBUG:pyTivo.mind:subscribe&bodyId=tsn:8480001901FDAD0
    {'uiType': 'cds', 'idSetSource': {'contentId': 'tivo:ct.bs.15000211', 'type': 'singleOfferSource', 'offerId': 'tivo:of.bs.15000211'}, 'bodyId': 'tsn:8480001901FDAD0', 'title': 'pcBodySubscription'}
    
    <subscribeResult><subscription><autoRecord>true</autoRecord><bodyGeneratesCandidates>false</bodyGeneratesCandidates><bodyId>tsn:8480001901FDAD0</bodyId><hdOnly>false</hdOnly><idSetSource><contentId>tivo:ct.bs.15000211</contentId><offerId>tivo:of.bs.15000211</offerId><type>singleOfferSource</type></idSetSource><isAdult>false</isAdult><isForKids>false</isForKids><levelOfDetail>high</levelOfDetail><showStatus>rerunsAllowed</showStatus><subscriptionId>tivo:sb.15000811</subscriptionId><title>pcBodySubscription</title><type>subscription</type><uiType>cds</uiType></subscription></subscribeResult>g
    DEBUG:pyTivo.video.transcode:CACHE HIT! /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    DEBUG:pyTivo.video.transcode:TRANSCODE=NO, all compatible, /Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg
    INFO:pyTivo:10.0.1.12 [21/Dec/2015 23:32:33] "GET /TiVo%20Shows/Switched%20at%20Birth/Switched%20at%20Birth-%20The%20Past%20(Forgotten-Swallowed).mpg?Format=video%2Fmpeg HTTP/1.1" 200 -
    INFO:pyTivo.video.video:[21/Dec/2015 23:32:33] Start sending "/Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg" to Living Room
    DEBUG:pyTivo.video.video:"/Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg" is tivo compatible
    INFO:pyTivo.video.video:[21/Dec/2015 23:42:23] Done sending "/Volumes/TiVo Transfer/Switched at Birth/Switched at Birth- The Past (Forgotten-Swallowed).mpg" to Living Room, 6308464642 bytes, 81.58 Mb/s
     
  19. lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    You need to do one of three things:

    1. Pull instead of push.

    2. add [<programId>] to the beginning of the description. In your example, the line would be:

    Code:
    description : [EP013845660062] Daphne attends a clinic fundraiser; Bay deals with MaryBeth's feelings for Hank; Toby tutors Sharee in an effort to keep her on the field hockey team; John reunites with an old baseball colleague.
    or

    3. Do what I did, and modify pyTivo so the description is automatically modified.
     
  20. ShoutingMan

    ShoutingMan Member

    309
    3
    Jan 6, 2008
    Thanks for the suggestions.

    For some reason, Pull isn't working. The file comes over, but then is inaccessible on the TiVo, giving a C501 error. I have to use Archivo to delete the show remotely; the Tivo simply can't touch it. So I was using Push.

    Can you point me to your pytivo mod for pre-pending episode data to a show description? I can do it manually to start. But an automated solution would be handy for the 84 episodes of Supernatural I've got to transfer.


    (I don't know if it's related: some shows transfer via Push with S/E data; they also keep their artwork. Shows that lose the S/E data also lose artwork, getting a generic graphic for the show in the My Shows listing.)
     
    Last edited: Dec 22, 2015

Share This Page