Command ffmbc from shell

hi all,
I need to run a command ffmbc like this:

ffmbc -i 1080i60.mxf -vcodec mjpeg -an -s 360x288 -b 3M -aspect 4:3 output.mov

I’m doing it to execute:

Dim s As new Shell
s.Mode = 1
If Not s.IsRunning Then
s.execute " ffmbc -i 1080i60.mxf -vcodec mjpeg -an -s 360x288 -b 3M -aspect 4:3 output.mov"
End If

If s.ErrorCode = 0 Then
  TextField1.Text = s.Result
Else
  MsgBox("Error code: " + Str(s.ErrorCode))
End If

What am I doing wrong?
I always gives me error 127.
Can anyone help me?

Sorry for my bad english…

Thank you.

I think you’ll need to enter the full path to ffmbc.

s.execute "/full/path/from/root/ffmbc -i 1080i60.mxf -vcodec mjpeg -an -s 360x288 -b 3M -aspect 4:3 output.mov"

Albin, thanks for answer, but ffmbc works from all directories in the terminal, but when I step from the command shell, it does not work.

If Not s.IsRunning Then
s.execute “/Users/osx/ ffmbc -i 1080i60.mxf -vcodec mjpeg -an -s 360x288 -b 3M -aspect 4:3 output.mov”
End If

Does not work well. Now error 126

any suggestions?