Search found 13 matches

by jaejunks
31 Dec 2018 15:01
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Re: Problem executing ffmpeg which was installed from Termux

OK. Thank you for the tip. That sure is useful when the multiple commands got too long.
by jaejunks
30 Dec 2018 14:40
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Re: Problem executing ffmpeg which was installed from Termux

Oh, I found it! Finally it works! Using below command line.

Code: Select all

export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib && /data/data/com.termux/files/usr/bin/ffmpeg -i /storage/emulated/0/Download/sample.mp4
by jaejunks
30 Dec 2018 14:35
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Re: Problem executing ffmpeg which was installed from Termux

@Desmanto: If you're using a different system configuration, it may work. FYI, mine is Android 6 (Marshmallow) in a rooted Samsung phone with Superuser. @Martin: Well, I tried to use these command lines and left the working directory blank. The actions for both succeeded, but gave the `CANNOT LINK E...
by jaejunks
28 Dec 2018 11:27
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Re: Problem executing ffmpeg which was installed from Termux

Yes, ffmpeg can be executed from the Termux console. I also found out that even if I set the command line to: echo 123 And specify the working directory like previously mentioned, the action triggers the same exception. If I don't specify the working directory, the action works fine and outputs `123...
by jaejunks
27 Dec 2018 13:37
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Re: Problem executing ffmpeg which was installed from Termux

I'm not familiar enough with linux security, but AFAIK, shouldn't the root access already have higher access level to the point that file/directory permission mechanism doesn't matter any more? Anyway... I've tried changing the permission for the `libavfilter.so` file as well as the `lib` directory ...
by jaejunks
26 Dec 2018 08:49
Forum: User Help / Bug Reports
Topic: Problem executing ffmpeg which was installed from Termux app
Replies: 10
Views: 21868

Problem executing ffmpeg which was installed from Termux app

FYI, my Android 6 phone is rooted and Automagic has been granted root access via Superuser app. The ffmpeg program is located in below path. /data/data/com.termux/files/usr/bin/ffmpeg So I use the "Execute Root Command" action to execute it. It's command line is e.g. /data/data/com.termux/files/usr/...
by jaejunks
28 Apr 2018 11:31
Forum: User Help / Bug Reports
Topic: Is there a simpler way to access Java arrays?
Replies: 14
Views: 30414

Re: Is there a simpler way to access Java arrays?

Oh, I didn't know that Java related functions have additional dialogs. That's sure is useful. I thought the Function button simply generates the function call template like most other functions do.

Thanks for explaining that.
by jaejunks
28 Apr 2018 02:18
Forum: User Help / Bug Reports
Topic: Is there a simpler way to access Java arrays?
Replies: 14
Views: 30414

Re: Is there a simpler way to access Java arrays?

What do you mean by "Automagic filled them in"? I mean, where did you find that `int`? Cause the code in my Script action doesn't get corrected by Automagic. I type the `get()` arguments manually, and there's no underlining hint when the cursor is within the `methodSignature` argument's value, becau...
by jaejunks
27 Apr 2018 19:21
Forum: User Help / Bug Reports
Topic: Is there a simpler way to access Java arrays?
Replies: 14
Views: 30414

Re: Is there a simpler way to access Java arrays?

Oh, I didn't know that `int` is acceptable for Java arguments. Thanks for the correction. I was under the impression that Java arguments must be specified using fully qualified class names. e.g. `java.lang.Object`, `java.lang.String`, etc. But I guess I was mistaken. I'm not familiar with Java, you ...
by jaejunks
26 Apr 2018 21:24
Forum: User Help / Bug Reports
Topic: Is there a simpler way to access Java arrays?
Replies: 14
Views: 30414

Re: Is there a simpler way to access Java arrays?

@Martin: Oh, OK. I guess I'll have to use that for now. Thanks for confirming this. I've been looking into Java classes and found that maybe I could use the `java.lang.reflect.Array.get()` static method to retrieve an element array. So I tried this. ctx = getContext(); array = callJavaMethod(ctx, "a...