Hi,
You might consider using EMS Web Services to perform what you want. By leveraging on the EMS Event Notification System, you can create a script to start transcoding when an outStreamCreated event is detected. For more information, please refer to the EMS documentation on our website:
https://evostream.com/support/documentation/
Cheers,
Don