2

我正在RoR網站上使用回形針創建S3上的視頻,現在我想爲視頻實現彈性轉碼,但我知道如何處理它。將媒體文件從一種格式轉碼爲另一種格式

請任何人指導我?

感謝

+0

您是否閱讀開發者指南?看起來像它說明了整個設置過程。這裏是一個鏈接(警告PDF):http://docs.aws.amazon.com/elastictranscoder/latest/developerguide/elastictranscoder-dg.pdf – Max

+0

@Max - 感謝您的指導 – Sam

回答

2

video在亞馬遜上給所有的理論,你需要了解的過程。 試試Elastic Transcoder gem。看起來它有非常簡單的界面。

# getting pipeline 
pipeline_front = ElasticTranscoder::Pipeline.new 
pipeline_front.pipeline "pipeline_id" 

# creating a job 
jobs_front = ElasticTranscoder::Jobs.new 
jobs_front.create_job "input_id", "output_id", "pipeline_id", "preset_id", "thumbnails_pattern" 
+0

感謝您的指導 – Sam

相關問題