函数计算 触发式计算 日志 MP3 图片 合成视频
函数计算 触发式计算 日志 MP3 图片 合成视频
【start_time】:20120511 06:59:11 【20120511 06:59:11_0.4950568322522534】: 【20120511 06:59:11_0.6700262379086077】:0.0M 【oss_f】:articel_txt_mp3/uid123_untest_789.txt 【20120511 06:59:11_0.36808242731641083】: 【20120511 06:59:11_0.9364059184068244】:0.0M 【uid】:uid123 【username】:untest 【infoid】:789 【20120511 06:59:11_0.9470241864434873】:/tmp/image0001.jpg /tmp/image0002.jpg /tmp/image0000.jpg 【20120511 06:59:11_0.17211365616445806】:0.47993946075439453M 【20120511 06:59:11_0.6091132424249371】:/tmp/image0001.jpg /tmp/image0002.jpg /tmp/image0000.jpg 【20120511 06:59:11_0.19296850567350987】:0.47993946075439453M 【mp3files】:/tmp/uid123_untest_789_0.mp3|/tmp/uid123_untest_789_1.mp3 【MP3 merge】:./ffmpeg -i concat:"/tmp/uid123_untest_789_0.mp3|/tmp/uid123_untest_789_1.mp3" 【MP3 t】:['00:02:14.46'] 【20120511 06:59:14_0.8535784318078842】:/tmp/image0001.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 【20120511 06:59:14_0.4854015307992531】:0.7380313873291016M 【pic mp3 to vedio】:./ffmpeg -y -threads 5 -loop 1 -r 0.5 -i /tmp/image%04d.jpg -i concat:"/tmp/uid123_untest_789_0.mp3|/tmp/uid123_untest_789_1.mp3" -pix_fmt yuv420p -vcodec libx264 -b:v 300k -r:v 15 -preset medium -crf 30 -s 1200x414 -t 00:02:14.46 /tmp/789tmpa.mp4 【20120511 07:00:02_0.3474086516551732】:/tmp/image0001.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 【20120511 07:00:02_0.9257033342569596】:3.1966466903686523M 【uid_logo_oss】:mylogo/uid123logo.jpg 【20120511 07:00:02_0.5294323848674969】:/tmp/image0001.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 【20120511 07:00:02_0.13642991443245123】:3.1966466903686523M 【uid_logo_path】:/tmp/uid123logo.jpg 【watermark left】:./ffmpeg -y -i /tmp/789tmpa.mp4 -vf "movie=/tmp/uid123logo.jpg[wm1];movie=mylogo.png[wm2];[in][wm1]overlay=10:10[a];[a][wm2]overlay=main_w-overlay_w-10:10[out]" /tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.38684888191070366】:/tmp/image0001.jpg /tmp/uid123logo.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 /tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.5904778530405284】:6.048249244689941M 【20120511 07:01:06_0.5935966161469236】:/tmp/image0001.jpg /tmp/uid123logo.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 /tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.806523709181255】:6.048249244689941M 【res_f】:gen_video/new_789_5_fc.mp4 【bucket.put_object_from_file】:/tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.4289283622934521】:/tmp/image0001.jpg /tmp/uid123logo.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 /tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.3065472416834243】:6.048249244689941M 【v_size_min】:10 【v_size_cmp_KB】:2900.6162109375 【sql】:UPDATE myv_test SET status=0 WHERE article_id=789 AND uid=uid123 ORDER BY id DESC LIMIT 1 【20120511 07:01:06_0.438245525349256】:/tmp/image0001.jpg /tmp/uid123logo.jpg /tmp/uid123_untest_789.txt /tmp/image0002.jpg /tmp/uid123_untest_789_0.mp3 /tmp/image0000.jpg /tmp/uid123_untest_789_1.mp3 /tmp/789tmpa.mp4 /tmp/789tmpwatermarkb.mp4 【20120511 07:01:06_0.7674211301883631】:6.048249244689941M 【end_time】:20120511 07:01:06 【LOG_END_TIME】:20120511070106