[ANN] The TivoHMO and TivoHME ruby libraries

Discussion in 'Developers Corner' started by wr0ngway, Oct 13, 2014.

  1. joeblow8579

    joeblow8579 New Member

    14
    0
    Apr 2, 2014

    Advertisements

    PM sent with a link to the log file.
     
  2. wr0ngway

    wr0ngway New Member

    23
    0
    Jan 4, 2014
    Ok, got it.
    The first error that jumps out at me is:

    2015-04-20 12:56:30 - Errno::ENOENT - No such file or directory - the ffprobe binary could not be found in /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:

    Which tells me that either ffmpeg/ffprobe isn't in your path or you are using an older version that doesn't have ffprobe

    Can you run "ffmpeg -v" or "ffprobe -v" on the command line?
     
  3. joeblow8579

    joeblow8579 New Member

    14
    0
    Apr 2, 2014
    Good call. I forgot I had reinstalled OS X a few months ago when I put the SSD into this machine and had only had ffmpeg in my pytivo folder. I copied it into /usr/bin and now when I type ffmpeg -v from the command line it actually gives output other than "command not found".

    I get this:
    Code:
    ffmpeg version 2.5.3-tessus Copyright (c) 2000-2015 the FFmpeg developers
      built on Jan 10 2015 01:19:50 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
      configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
      libavutil      54. 15.100 / 54. 15.100
      libavcodec     56. 13.100 / 56. 13.100
      libavformat    56. 15.102 / 56. 15.102
      libavdevice    56.  3.100 / 56.  3.100
      libavfilter     5.  2.103 /  5.  2.103
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    Missing argument for option 'v'.
    Error splitting the argument list: Invalid argument
    Still empty folders in tivoHMO though.
     
  4. joeblow8579

    joeblow8579 New Member

    14
    0
    Apr 2, 2014
    I get this when typing "ffprobe -v" at the command line:

    Code:
    -bash: ffprobe: command not found
    I notice that the numbers next to the folders when browsing from the TiVo do in fact update after I tunnel into them, but I still can't see anything in the folders when I navigate there. Is this related to not having ffprobe as a part of my ffmpeg version?
     
  5. wr0ngway

    wr0ngway New Member

    23
    0
    Jan 4, 2014

    Advertisements

    Correct - I should probably handle that more gracefully, but basically it uses ffprobe to figure out duration of the video so that it can be transferred correctly - and it tries to do this for each video when you dig in, and fails/aborts on the first one. Once you have ffprobe available, it should show your videos.

    I usually use homebrew to keep up to date with the latest ffmpeg on OSX:

    http://brew.sh/

    then:

    brew install ffmpeg
     
  6. joeblow8579

    joeblow8579 New Member

    14
    0
    Apr 2, 2014
    I was able to get it working with home-brew. I'd already installed it to get the latest version of Ruby, so all I had to do was load up the latest ffmpeg via the command line as you said.

    Now all we need is a front end that looks pretty and my wife will be happy with my "one box to rule them all" strategy. My kingdom for a fast native Plex app from TiVo...

    Does TiVo not let us use high definition menus for things? I notice that pytivo as well as the tivohmo you made use the old style menus.
     
  7. wmcbrine

    wmcbrine Well-Known Mumbler

    11,774
    848
    Aug 2, 2003
    HMO menus are rendered by the TiVo, based on simple XML lists of items; and yeah, they've chosen not to update those menus, for whatever reason.

    HME lets us use HD and do anything we want, but we have to do it all ourselves (and of course, it doesn't work as a front-end for pulling videos).
     

Share This Page

spam firewall

Advertisements