我正在研究一種在S3上存儲圖像的移動應用程序,將它們合併到視頻中並將它們推送到YouTube。我目前正在考慮將流程轉移到Transloadit,因爲它可以解決我遇到的很多問題,但我似乎無法使其正常工作。Transloadit任務永不結束
我計劃的流程是:
- 從S3鬥擷取圖片
- 將它們合併成一個視頻
- 推送視頻到YouTube
我已經把下面的模板用於測試目的:
{
"steps": {
"get_images": {
"robot": "/s3/import",
"key": "****",
"secret": "****",
"bucket": "image-test",
"bucket-region": "eu-west-1",
"path": [
"uploaded_files/a9f80e0c-48a7-4411-bab6-c218efccec6e.jpg",
"uploaded_files/e056a30b-03fb-4e7f-8e91-edf8a66494c5.jpg",
"uploaded_files/bce0be54-0fd9-4367-ae87-b670214a4830.jpg",
"uploaded_files/652dbaf0-7b4d-4dbc-9b51-a07e79d116a9.jpg"
]
},
"create_video": {
"robot": "/video/merge",
"preset": "flash",
"width": 854,
"height": 480,
"resize_strategy": "fit",
"framerate": "1/5",
"use": {
"steps": [
{
"name": "get_images",
"as": "image"
}
]
}
},
"youtube_upload": {
"robot": "/youtube/store",
"use": "create_video",
"username": "Youtube User",
"password": "****",
"visibility": "unlisted",
"category": "Film & Animation",
"keywords": "blah",
"title": "Test",
"description": "Test"
}
}
}
該任務從未完成執行。通過刪除這些步驟,我已經能夠確定第一步運行並提取正確的文件,但第二步從未完成,表明問題出在哪裏。我還觀察到,用於生成視頻的the demo似乎也不起作用,這是一個令人擔憂的問題。
任何想法是什麼問題?