You can customize the FFmpeg command parameters.Īfter the transcoding application is deployed, the following resources will be created: In addition, this scheme supports outputting the complete logs of the FFmpeg application.īy leveraging the prolonged execution mechanism of SCF, this scheme can be run for 12 to 24 hours, making it suitable for transcoding large files that take a long time. The source video file is pulled and the transcoded file is uploaded in a streaming manner, which breaks through the limitation of local storage and eliminates the need for additional deployment of CFS and other services.ĭuring video transcoding, you can view the transcoding progress in real time through CLS logs. The real-time logging thread outputs the log stream, and the upload task is responsible for caching the file stream and uploading it to the user-defined destination COS bucket. The two task threads in the SCF process respectively receive the FFmpeg log stream output by the FFmpeg task process to the SCF process and the transcoded file stream. The SCF process and FFmpeg task process carry out data transfer through pipe and FIFO.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |