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
#!/bin/bash | |
#cut/join videos using ffmpeg without quality loss | |
if [ -z $1 ] || [ -z $2 ]; then | |
echo "Usage:$0 c[ut] seconds <File>" | |
echo " eg. $0 c 10 80 example.mp4" | |
echo " eg. $0 c 00:00:10 00:01:20 example.mp4" | |
echo "Usage:$0 j[oin] <FileType>" | |
echo " eg. $0 j avi" | |
exit |
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
#!/bin/bash | |
################################################################################ | |
# | |
# Script name: MultiMedia Concat Script (mmcat) | |
# Author: burek (burek021@gmail.com) | |
# License: GNU/GPL, see http://www.gnu.org/copyleft/gpl.html | |
# Date: 2012-07-14 | |
# | |
# This script concatenates (joins, merges) several audio/video inputs into one |
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"
- http://jscdn.upai.com/ 又拍云JS库加速服务
- http://open.bootcss.com/ Bootstrap中文网开放CDN服务
- http://staticfile.org/ 开放静态文件 CDN staticfile,七牛云存储提供支持 GitHub:https://github.com/staticfile/static
- 百度开发者中心CDN公共库
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
#!/bin/bash | |
#cut/join videos using ffmpeg without quality loss | |
if [ -z $1 ] || [ -z $2 ]; then | |
echo "Usage:$0 c[ut] seconds <File>" | |
echo " eg. $0 c 10 80 example.mp4" | |
echo " eg. $0 c 00:00:10 00:01:20 example.mp4" | |
echo "Usage:$0 j[oin] <FileType>" | |
echo " eg. $0 j avi" | |
exit |
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
#!/bin/bash | |
#cut/join videos using ffmpeg without quality loss | |
if [ -z $1 ] || [ -z $2 ]; then | |
echo "Usage:$0 c[ut] seconds <File>" | |
echo " eg. $0 c 10 80 example.mp4" | |
echo " eg. $0 c 00:00:10 00:01:20 example.mp4" | |
echo "Usage:$0 j[oin] <FileType>" | |
echo " eg. $0 j avi" | |
exit |