Remote CMD executor

Here you can submit bugreports
Post Reply
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

Remote CMD executor

Post 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!
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Remote CMD executor

Post 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...
emcodem, wrapping since 2009 you got the rhyme?
Post Reply