First, could you provide a bit more details on what you mean? Have you looked into the basic encoding sample for Python and determined if that is working for you?
https://github.com/Azure-Samples/media-services-v3-python/tree/main/BasicEncoding
When you say that the Job "input" is taking too much times, what do you mean? The uploading of the input file from your local machine, or are you using an HTTP source JobInputHttp that is taking too long to pull from a remote location?
When it is hanging in the state of "processing", can you open a support ticket with those details so that someone on the backend can take a look at your account ID, Job ID, and Subscription ID details and check the logs to help with the issue there? Please open a support ticket through the Azure Portal filling in the basic details for your hanging jobs.