ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import time | |
import yaml | |
from requests_oauthlib import OAuth2Session | |
# Azure SDK 必须这么做,因为Azure服务器可能不按顺序返回参数. | |
os.environ['OAUTHLIB_RELAX_TOKEN_SCOPE'] = '1' | |
os.environ['OAUTHLIB_IGNORE_SCOPE_CHANGE'] = '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#使用前请将注释删除以免出问题。#后面带汉字的就是注释 | |
#如果不想启用 Web-UI 则删除本段代码 | |
web_server: | |
bind: 0.0.0.0 | |
port: 50001 #web-ui的监听端口 | |
# ssl_certificate: '/etc/ssl/private/myCert.pem' #SSL证书位置,启用https的话,把前面的#号删除 | |
# ssl_private_key: '/etc/ssl/private/myKey.key' #SSL证书位置,启用https的话,把前面的#号删除 | |
web_ui: yes #启用web-ui | |
base_url: /flex #网址后缀 | |
run_v2: yes #启动 V2 版本 |