diff --git a/ffmpeg-app/publish.yaml b/ffmpeg-app/publish.yaml index 6918959..f78409c 100644 --- a/ffmpeg-app/publish.yaml +++ b/ffmpeg-app/publish.yaml @@ -1,7 +1,7 @@ Edition: 3.0.0 Type: Project Name: ffmpeg-app-cap -Version: 0.0.3 +Version: 0.0.4 Provider: - 阿里云 Description: 基于FFmpeg的音视频处理应用, 包括获取音视频元信息、获取音视频时长、音频转换、雪碧图生成、生成 GIF、打水印等多个模块。 diff --git a/publish.py b/publish.py deleted file mode 100644 index ea03de0..0000000 --- a/publish.py +++ /dev/null @@ -1,37 +0,0 @@ -import subprocess -import time - - -def getContent(fileList): - for eveFile in fileList: - try: - with open(eveFile) as f: - return f.read() - except: - pass - return None - - -with open('update.list') as f: - publish_list = [eve_app.strip() for eve_app in f.readlines()] - -for eve_app in publish_list: - times = 1 - while times <= 3: - print("----------------------: ", eve_app) - publish_script = 'https://serverless-registry.oss-cn-hangzhou.aliyuncs.com/publish-file/python3/hub-publish.py' - command = 'cd %s && wget %s && python hub-publish.py' % ( - eve_app, publish_script) - child = subprocess.Popen( - command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True, ) - stdout, stderr = child.communicate() - if child.returncode == 0: - print("stdout:", stdout.decode("utf-8")) - break - else: - print("stdout:", stdout.decode("utf-8")) - print("stderr:", stderr.decode("utf-8")) - time.sleep(3) - if times == 3: - raise ChildProcessError(stderr) - times = times + 1 diff --git a/video-flow/publish.yaml b/video-flow/publish.yaml index 9aeb74c..75b09f6 100644 --- a/video-flow/publish.yaml +++ b/video-flow/publish.yaml @@ -6,6 +6,7 @@ Provider: - 阿里云 Description: 基于 FC + Serverless Workflow + OSS + NAS + FFmpeg 实现的弹性高可用、并行处理的视频转码服务,快速创建部署到云原生应用开发平台。 HomePage: https://github.com/devsapp/start-ffmpeg/tree/dipper/video-flow +Organization: 阿里云函数计算(FC) Effective: Public Tags: - flow