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,081
    2
    May 6, 2002
    John's...
    You could have just copied the text from the window and pasted it into your post.
     
  2. rassi

    rassi Member

    135
    0
    Jul 18, 2003
    NE Ohio
    Probably doesn't know how to do that. A lot of people aren't familiar with cut-n-paste in a command line window.
     
  3. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Precisely why I phrased it as I did, rather than "should have" or "why didn't you...?".
     
  4. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    i tried both to highlight with my mouse and crtl A but it didnt and i dont know other way if you can tell me how thanks,,, as for the error code if i didnt change anything inside the python folders why did it work before and not anymore? sorry for the 4 useless posts
     
  5. moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    To check ffmpeg that you have configured from windows explorer go to C:\pyTivo\bin folder and check if you have ffmpeg.exe there. If you don't see it then that's a problem. If you do see it then check if you can run it as follows:
    From Start menu type:
    cmd
    Then in the cmd window type:
    C:\pyTivo\bin\ffmpeg.exe
     
  6. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Left click on the upper left corner of the command window. Select "Edit" "Mark". Click and drag to highlight the text. Then select "Edit" "Copy" to copy to the clipboard.
     
  7. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    @moyekj Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Meech>C:\Users\pytivo-master\bin\ffmpeg.exe
    ffmpeg version N-62439-g5e379cd Copyright (c) 2000-2014 the FFmpeg developers
    built on Apr 13 2014 22:08:47 with gcc 4.8.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
    -zlib
    libavutil 52. 76.100 / 52. 76.100
    libavcodec 55. 58.103 / 55. 58.103
    libavformat 55. 37.100 / 55. 37.100
    libavdevice 55. 13.100 / 55. 13.100
    libavfilter 4. 4.100 / 4. 4.100
    libswscale 2. 6.100 / 2. 6.100
    libswresample 0. 18.100 / 0. 18.100
    libpostproc 52. 3.100 / 52. 3.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfi
    le}...

    Use -h to get full help or, even better, run 'man ffmpeg'

    C:\Users\Meech>
     
  8. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    @lpwcomp thank you very much learned something new lol....

    i do have the ffmpeg.exe along with 2 other ffplay.exe and ffprobe.exe
    i still have the same error message as my first screen shot on last page, i honestly dont think that its the problem. my tivo sees the movie folder once i click on it it says please wait and then says now playing list couldnt not be displayed because it is unabailable, press left to return to the my shows list
     
  9. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    INFO: pyTivo:python: 2.7.6
    INFO: pyTivo:System: Windows-7-6.1.7601-SP1
    INFO: pyTivo.beacon:Scanning for TiVos...
    INFO: pyTivo.beacon:DVR Meech
    INFO: pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: Movies
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.0.101 [14/Apr/2014 18:19:15] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
     
  10. gonzotek

    gonzotek tivo_xml developer

    2,404
    3
    Sep 24, 2004
    Outside...
    This is odd.
    This:
    Code:
    [B]C:\Users\pytivo-master\[/B]bin\ffmpeg.exe
    isn't generally where you'd put ffmpeg or pytivo. But if that's where you want things, then the ffmpeg setting of pytivo.conf should match.
    If you're editing pytivo.conf by hand:
    Code:
    ffmpeg=C:\Users\pytivo-master\bin\ffmpeg.exe
     
  11. moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    It does seem to be the problem, since the error message says it can't find ffmpeg.exe in the path you have configured for it:
    C:\pyTivo\bin\ffmpeg.exe
    So as posted above you need to correct the path to ffmpeg since it's looking in above location. Easiest fix instead of editing pyTivo configuration if you don't know how to do that, is copy ffmpeg.exe to the above location.

    Where do have pyTivo installed BTW? It would seem like it's under C:\pyTivo, so not sure where C:\Users\pytivo-master is coming from...
     
  12. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    i moved the whole python27 folder just simply on my C drive and the pytivo folder inside the python27 folder like so. C:\Python27\pytivo-master ... once i run the pytivo it loads to what i pasted above gonzotek post
     
  13. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    INFO: pyTivo:Last modified: Mon Oct 28 22:14:42 2013
    INFO: pyTivo:python: 2.7.6
    INFO: pyTivo:System: Windows-7-6.1.7601-SP1
    INFO: pyTivo.beacon:Scanning for TiVos...
    INFO: pyTivo.beacon:DVR Meech
    INFO: pyTivo.beacon:Announcing shares...
    INFO: pyTivo.beacon:Registering: Movies
    INFO: pyTivo:pyTivo is ready.
    INFO: pyTivo:192.168.0.103 [14/Apr/2014 19:54:50] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO: pyTivo:192.168.0.103 [14/Apr/2014 19:55:18] "GET /TiVoConnect?Command=Query
    Formats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO: pyTivo:192.168.0.103 [14/Apr/2014 19:56:01] "GET /TiVoConnect?Command=Query
    Container&Container=Movies&Recurse=Yes&SortOrder=!CaptureDate&ItemCount=8&Filter
    =x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,vi
    deo%2F*&SerialNum=7460001908BAEF1 HTTP/1.1" 200 -
     
  14. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    So, is it working now? I don't see the error message. If not, post your pytivo.conf file, after "x"ing out any sensitive data like user id and password. BTW, it's generally a good idea to post things like this between "CODE" tags so that the forum s/w doesn't reformat it and you don't get "Smilies". Note that I added them to what I quoted.

    Also, there is no real reason to have the pyTivo folder inside the python27 folder. When you installed python, it should have associated .py files with python so that the default action when you open(double click) a .py file is to run python.
     
  15. CoxInPHX

    CoxInPHX COX Communications

    2,350
    6
    Jan 14, 2011
    Phoenix, AZ
    Since I updated ffmpeg.exe to a newer version, 08/08/2013, I get the following message from pyTivo. Pushed and pulled files still work fine, I am just wondering what configuration I need to change, if any, to avoid the message.

    What exactly does this message mean?

    Please use -b:a or -b:v, -b is ambiguous
    [mp4 @ 04576140] track 1: codec frame size is not set

    Code:
      Metadata:
        creation_time   : 2014-04-14 04:38:23
      Duration: 00:44:03.58, start: 0.000000, bitrate: 2626 kb/s
        Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
        Stream #0:1(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 2
    3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    [B][COLOR="DarkOrange"]Please use -b:a or -b:v, -b is ambiguous[/COLOR][/B]
    [B][COLOR="Magenta"][mp4 @ 04576140][/COLOR][/B] [B][COLOR="DarkOrange"]track 1: codec frame size is not set[/COLOR][/B]
    Output #0, mp4, to 'C:\Tivo\Continuum S03E05 - 30 Minutes to Air.mkv.pyTivo-temp
     
  16. moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    For the ambiguous message newer versions of ffmpeg changed command line parameters, and technically the older syntax should not be used. However, the older syntax still works and pyTivo is setup to still be backwards compatible with older versions of ffmpeg. Fixing pyTivo to avoid the warning message would mean anyone with older versions of ffmpeg would be screwed.
     
  17. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014

    sorry didnt know and i got it about the code now and no it does not work, the last lines i posted w.o the info message in beginning is the problem i think.. is it possible my cable provider (RCN) blocked this feature?

    Code:
    [Server]
    port = 9032
    togo_path = C:\Python27\pytivo-master
    ffmpeg = C:\Python27\pytivo-master\Bin\ffmpeg.exe
    tivodecode = C:\Python27\pytivo-master
    
    [Movies]
    type = video
    path = C:\Users\Meech\Downloads\Moviez
    this is my pytivo.conf file, like i mentioned yesterday it was working on saturday and i did not change any files or setting within pytivo, i also tried reinstalling and setting everything up from scratch but to no avail, thanks
     
  18. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    that is where the problem is ithink.... what is the serial num on the bottom i never seen it before
     
  19. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    It's the TSN of the TiVo that is accessing the share.

    What exactly happens when you select the share on the TiVo?

    If I had control of your system, I'd reorganize everything and possibly start with a fresh install of pyTivo, but barring that there are a few things you might try.

    After selecting the share, hit a "2" on the TiVo remote.

    Install a newer version of ffmpeg.

    Correct the tivodecode entry in your pytivo.conf file. As with ffmpeg, it is supposed to be the full path to the tivodecode executable.

    With pyTivo running, open a browser tab or window and enter
    Code:
    localhost:9032
    as the location. That should bring up a browser interface you can use to display and edit your pyTivo.conf file.
     
  20. brooklynsour

    brooklynsour New Member

    16
    0
    Apr 14, 2014
    i have a series 4 tivo box from RCN, what happens is i hit the TIVO button then MY

    SHOWS, my MOVIES folder on my PC shows under Web Video Hotlist, Once i try to go in

    there it says please wait but then nothing, i have in that folder shows up and says its

    unavailable right now..... THIS IS THE CODE AFTER I TRY TO GO IN THE MOVIES FOLDER LIKE I STATED ABOVE ^^

    Code:
    INFO:pyTivo:Last modified: Mon Oct 28 22:14:42 2013
    INFO:pyTivo:Python: 2.7.6
    INFO:pyTivo:System: Windows-7-6.1.7601-SP1
    INFO:pyTivo.beacon:Scanning for TiVos...
    INFO:pyTivo.beacon:DVR Meech
    INFO:pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: Movies
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.0.103 [15/Apr/2014 17:04:45] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.0.103 [15/Apr/2014 17:04:45] "GET /TiVoConnect?Command=Query
    Container&Container=Movies&ItemCount=0&SerialNum=7460001908BAEF1 HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.103 [15/Apr/2014 17:04:49] "GET /TiVoConnect?Command=Query
    Formats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.103 [15/Apr/2014 17:05:31] "GET /TiVoConnect?Command=Query
    Container&Container=Movies&Recurse=Yes&SortOrder=!CaptureDate&ItemCount=8&Filter
    =x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,vi
    deo%2F*&SerialNum=7460001908BAEF1 HTTP/1.1" 200 -
    
     

Share This Page