To get the version, we would have to spawn it ffmpeg -version and split the string and grab the 3rd item from the array as this flow shows:
[{"id":"48e02cfe.7cb014","type":"inject","z":"5967c855.68b978","name":"start","props":[{"p":"action","v":"{\"command\":\"start\"}","vt":"json"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":264,"y":740,"wires":[["ffc6a303.54b73"]]},{"id":"ffc6a303.54b73","type":"ffmpeg-spawn","z":"5967c855.68b978","name":"","outputs":2,"migrate":1e-9,"cmdPath":"","cmdArgs":"[\"-version\"]","cmdOutputs":1,"killSignal":"SIGTERM","x":430,"y":740,"wires":[[],["23ddb71.08b0548"]]},{"id":"abb559f9.d13f48","type":"debug","z":"5967c855.68b978","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":757,"y":740,"wires":[]},{"id":"23ddb71.08b0548","type":"function","z":"5967c855.68b978","name":"","func":"const version = msg.payload.toString().split(' ')[2];\n\nconst message = `version: ${version}`;\n\nnode.status({ fill: 'green', shape: 'dot', text: message });\n\nreturn { payload: version };","outputs":1,"noerr":0,"initialize":"","finalize":"","x":613,"y":740,"wires":[["abb559f9.d13f48"]]}]
I feel that it would be alot of work to try to spawn this as a convenience feature for a little gain. We can just tell confused users to copy/paste this flow and hit the button to output the version. Personally, knowing the version of ffmpeg does not really help me since i don't follow their releases to know what new features might be available.
The args arriving via input should not affect whether there are multiple outputs or a single unified output. I probably didnt explain it right. You will see when I have a chance to build that feature.
For a moment, I thought about making the topic user settable, but that will be an unecessary feature with little gain. The topics will be status, stdout, stderr, stdio3, stdio4, stdio5 or more if needed.
i have never tried to build ffmpeg and I applaud those who build and release it for us. Seems very complicated and platform specific. The things i dont know could fill a warehouse. For example, would ffmpeg built on pi3 work for pi4? probably not. Sounds like you would need a team working full time to keep up with it.