> Le 3 juin 2020 à 13:13, Klaus major-k via use-livecode > <use-livecode@lists.runrev.com> a écrit : > > Hi friends, > > maybe someone has a brilliant hint for me! :-) > > A customer of mine has installed ffmpeg on his mac via Terminal: > 1. google: homebrew > 2. terminal: brew install ffmpeg > or whatever the command were... > > Now ffmpeg is available on his Mac and something like: > ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test2.mp4 > is working as exspected. > > However if he fires this in LC: > on mouseUp > put shell("ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test3.mp4") > end mouseUp > > He gets: > /bin/sh: line 1: ffmpeg: command not found > > But this is working in the Terminal!? > What is going on here and how can this be fixed? > Does some environment or PATH variable need to be set additonally? >
Yes, you need to set the PATH like : if "/usr/local/bin" is not in $PATH then put "/usr/local/bin:" before $PATH But with the path of ffmepg. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode