Page 1 of 1

Remote CMD executor

Posted: Thu Aug 31, 2023 1:15 pm
by veks
Hi all!
Sadly, I've only found about this plugin on official FFAStrans youtube channel that emcodem released 4 months ago.
But I can't find anything else related to it and I think there should be a lot more talked about it.
Because right now we have a scenario where we would like to have transcoding nodes on Linux, mainly dockerized.
And FFAStrans would be only used for managing transcode files and sending the command to Linux servers when new video files comes in.
So, it would trigger an ffmpeg command that would transcode from one source to 6 profiles on Linux servers.

I've tried to test this out, but I get the error "Found least busy host is 192.168.x.x with 0 jobs" and in status monitor it is just stuck like that doing nothing.
port 3000 is open.
All settings are same as in YouTube video https://www.youtube.com/watch?v=vNtzGhRzWxc.
Any idea why is that happening?
Thanks a lot!

Re: Remote CMD executor

Posted: Sat Sep 02, 2023 12:18 am
by emcodem
Hey veks,

hehe yeah well this type of execution is special interest no question, so i would not count on more than 2-3 other users of remote cmd in the next years...
Fortunately, i need it so it will stay maintained until i dont need it anymore :D

Today i needed to work on it a little and add some logging to make my life easier, you can download the new linux binary here:
https://github.com/emcodem/ffastrans_re ... emote_node

The change is that it writes a log file (rotate at 5 mb size) into ./logs subfolder (make sure the folder exists if it doesnt have rights to create the folder.
Second, you can investigate the current status on http://liunuxhost:3000/status (open that page in browser on the ffastrans host).

Third, you can investigate the log file and search for:
spawning job [your cmd]
job process close [your cmd]
job process error [your cmd]

My first suspicion would be that you actually spawned some commandline that runs forever. If you send me the zipped log in a PM you make my life easier...