I used to render 1 hour long videos using the PHP SDK and API.
It worked very well but recently, I started generating videos again, and when I try to render 1 hour long videos, I hit a time out. (Reponse from the API = A download or rendering task timed out)
Maybe a recent modification have been done on the API ?
FYI : One year ago, your support suggested to me to use a beta feature (instance/a1). I checked, and i still have this feature in my payloads.
Is there a solution please ?
Thank you for your help
I’ve taken a deeper look at 1488ce2b-09a2-48dd-9a0c-7e443a37ae1e and it appears you are doing everything right.
I’m able to reproduce the issue as well. Because your render is so long (60min+) it gets broken down into 30 individual renders. All renders complete in about a minute except for the 30th which times out.
We’ll have to take a closer look at this and see what the issue may be. Apologies for the inconvenience.
The issue here is that we no longer split the audio track in to multiple parts but instead render a single audio track and then merge that with the video. The reason we did that was because the audio was being split on frames, but audio works in samples which are not the same and so some customers could hear a click or pop every now and again where the audio and video is joined.
We’ll need to think about ways we can optimise this. Can probably do something quick and basic to unblock you and something more advanced down the track.
Fix is deployed in staging/sandbox. You can test it there. Rendered 1488ce2b-09a2-48dd-9a0c-7e443a37ae1e in about 6.5 mins (not bad!). The audio component took about 2 mins. Still room for some optimisations but this will definitely unblock you.