video_transcoding: Problems since upgrading to High Sierra

Hi. I’m a complete noob when it comes to unix. I know enough to open the terminal and copy and past commands, but beyond that, I really don’t understand all this.

I had the video transcode scripts working fine until earlier this week when I upgraded to Mac OS High Sierra.

Now, I consistently get the error message

/usr/local/bin/transcode-video: No such file or directory @ rb_file_s_stat

I’ve tried uninstalling and re-installing home-brew and ruby, as well as the transcode-video files. As best I can see, everything is installed correctly, but I still get this error. Despite much googling and tweaking, I cannot fix this.

What is the cause, and is there a solution?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (13 by maintainers)

Most upvoted comments

Well, I had a look at the files in my sytem, and then a bit more of a think about what the error message I’m receiving might mean.

One your questions Don made think of trying something different. When you asked if I could run any of the other gems, I thought, “Well, the transcode-video --help command works just fine, so that alone suggests things are installed and working. But why am I getting the message No such file or directory @ rb_file_s_stat ?”

Thus far I’ve been selecting the external drive where I house my movies, then using the general command transcode-video "/path/to/Movie.mkv" In my case, I change to the external drive, named miniStack 2012, and then use the command transcode-video "/Movies/Movie Title.mkv"

On a hunch, I went into the Movies folder, and tried `transcode-video --mp4 “/Movie Title.mkv”, and —voila! — it all worked.

I don’t understand why I can get this working perfectly when in the Movies folder, but not otherwise. Curiouser and curiouser. But, it’s working, and I can get by with that!

Thanks Don. I’m impressed with the amount of your time you make available to folks like me, and grateful for your help!

My ruby install is /usr/local/bin/ruby and the version is ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-darwin17]

My gem tool is /usr/local/bin/gem and the version is 2.6.14.

gem list returns:

*** LOCAL GEMS ***

bigdecimal (1.3.4, default: 1.3.0)
did_you_mean (1.1.0)
io-console (default: 0.4.6)
json (2.1.0, default: 2.0.4)
minitest (5.11.1, 5.10.1)
net-telnet (0.1.1)
openssl (2.1.0, default: 2.0.5)
power_assert (1.1.1, 0.4.1)
psych (3.0.2, default: 2.2.2)
rake (12.3.0, 12.0.0)
rdoc (6.0.1, default: 5.0.0)
test-unit (3.2.7, 3.2.3)
video_transcoding (0.18.0)
xmlrpc (0.3.0, 0.2.1)

gem environment returns

RubyGems Environment:
  - RUBYGEMS VERSION: 2.6.14
  - RUBY VERSION: 2.4.3 (2017-12-14 patchlevel 205) [x86_64-darwin17]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/2.4.0
  - USER INSTALLATION DIRECTORY: /Users/KyleMcD/.gem/ruby/2.4.0
  - RUBY EXECUTABLE: /usr/local/opt/ruby/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - SPEC CACHE DIRECTORY: /Users/KyleMcD/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /usr/local/Cellar/ruby/2.4.3_1/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-17
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/2.4.0
     - /Users/KyleMcD/.gem/ruby/2.4.0
     - /usr/local/Cellar/ruby/2.4.3_1/lib/ruby/gems/2.4.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /usr/local/git/bin