Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7878941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:47:33+00:00 2026-06-03T03:47:33+00:00

I am trying to evoke FFMPEG directly in my Java code (running under the

  • 0

I am trying to evoke FFMPEG directly in my Java code (running under the Playframework!).
The final product will run on a Linux/Debian distro, but I first need to test on my Mac (I don’t know if it works on Debian yet).

I try to execute the simple code:

Process pr = Runtime.getRuntime().exec(new String[]{"bash","-c", "ffmpeg"});

or simpler:

Process pr = Runtime.getRuntime().exec("ffmpeg")

or using ProcessBuilder:

Process pr = new ProcessBuilder("/opt/local/bin/ffmpeg").start();

What I get is an error code 133, but I cannot find what this means.
In the terminal the command gives the normal output. I can also replace ‘ffmpeg’ with e.g. ‘ls -la’ and get the directory listing. But I don’t know what the problem is that ffmpeg does not work.

Anybody any clues?
Thanks!

UPDATE:
I looked at the error stream. These are the errors I get. How is it that it works in the terminal, but not in using Java?

14:43:19,619 DEBUG ~ FFMPEG: dyld: Library not loaded: /opt/local/lib/libogg.0.dylib
14:43:19,619 DEBUG ~ FFMPEG:   Referenced from: /opt/local/bin/ffmpeg
14:43:19,619 DEBUG ~ FFMPEG:   Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:47:34+00:00Added an answer on June 3, 2026 at 3:47 am

    I used Xuggle for my video encoding and it happened to include an older version and is in the class path. Even though the link shown is from the newer, it used the older.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to get comfortable with jQuery and I have encountered some sample code that
Trying to run a macro in Excel to remove non dupes so dupes can
Trying to build Wireshark from source as there is no Linux installer and I
Trying to deploy application using ClickOnce to a webserver running sharepoint. I can publish
Trying to launch and pass tel. no. to skype by this code from my
Trying to get the difference between two DateTime objects. With the below code, I
Trying to perform a single boolean NOT operation, it appears that under MS SQL
Trying to run this script: import pythoncom, pyHook def OnMouseEvent(event): # called when mouse
trying to get a regex that will match a url e.g. 'http://www.test.com' and then
Trying to comply with StackOverflow's suggestion of asking a question, not creating a discussion,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.