Skip to content

Instantly share code, notes, and snippets.

@LuoZijun
Last active February 6, 2017 23:43
Show Gist options
  • Save LuoZijun/6f98af532d8d848d36262624532d3a22 to your computer and use it in GitHub Desktop.
Save LuoZijun/6f98af532d8d848d36262624532d3a22 to your computer and use it in GitHub Desktop.
RavenZ Cup VI Finals

RavenZ Cup VI FINALS

Date: 02/06 2016
赛事介绍:官网 TeamLiquid Wiki
赛事组织:RavenZ
比赛时间:02/05 2016 13:00:00 CET(欧洲中部时间) | 02/05 2016 20:00:00 CST(中国标准时间)
赛事时长:12小时19分钟05秒22毫秒
赛事奖金:350$ ( 冠军: 200$ , 亚军: 100$ , 季军: 50$ )
赛事录像:TwitchTV
联系方式:Skype( Baltimore_SC2 , Frutiger_SC2 )

Twitch TV VOD 时间为准:

冠军:INnoVation
亚军:DnS
季军:speaknow (ByuN) | Twitter
#!/bin/bash
# sudo apt-get install python-pip
# sudo pip install youtube-dl
# VOD Format: HLS (Apple HTTP Live Streaming)
# HLS Streamning Manifest Format: M3U8
# HLS Total Fragments: 11255
# VOD Size: 12170489448 Bytes ( ~11.6GB )
# Note: Space Required For Download This VOD: 24GB(12*2) Or More
cd /media && mkdir RavenZ_Cup_VI
youtube-dl "https://www.twitch.tv/videos/119852109"
# 48\ Stunden\ Stream\ -\ USD\ 350\ RavenZ\ Cup\ VI\ FINALS\ at\ 13_00\ CET\ -\ \#RavenZ\ \#TheFlock\ \#Brotherhood-v119852109.mp4
# RavenZ_Cup_VI_Finals_at_CET13-00-00_By_48_Stunden_Stream.mp4
mv \
48\ Stunden\ Stream\ -\ USD\ 350\ RavenZ\ Cup\ VI\ FINALS\ at\ 13_00\ CET\ -\ \#RavenZ\ \#TheFlock\ \#Brotherhood-v119852109.mp4 \
RavenZ_Cup_VI_Finals.mp4;
# MPEG-TS LC_AAC [[15][0][0][0] -> LC_AAC [mp4a / 0x6134706D]
ffmpeg \
-i RavenZ_Cup_VI_Finals_at_CET13-00-00_By_48_Stunden_Stream.mp4 \
-vcodec copy -acodec aac -strict experimental -movflags faststart \
RavenZ_Cup_VI_Finals_Fixed.mp4;
# Rename
# mv RavenZ_Cup_VI_Finals_Fixed.mp4 RavenZ_Cup_VI_Finals.mp4;
#!/bin/bash
# FFMPEG Example:
# The first command will cut from 00:01:00 to 00:03:00 (in the original), using the faster seek.
# The second command will cut from 00:01:00 to 00:02:00, as intended, using the slower seek.
# The third command will cut from 00:01:00 to 00:02:00, as intended, using the faster seek.
# ffmpeg -ss 00:01:00 -i video.mp4 -to 00:02:00 -c copy cut.mp4
# ffmpeg -i video.mp4 -ss 00:01:00 -to 00:02:00 -c copy cut.mp4
# ffmpeg -ss 00:01:00 -i video.mp4 -to 00:02:00 -c copy -copyts cut.mp4
# sudo apt-get install ffmpeg # Or `libav`
# ByuN VS DnS ( 10:06:30 - 10:50:00 ) 10:06:30 - 00:43:30
# ByuN VS Hurricane ( 11:04:00 - 11:29:35 ) 11:04:00 - 00:25:35
# INnoVation VS DnS ( 11:36:03 - 12:10:20 ) 11:36:03 - 00:34:17
# RavenZ_Cup_VI_Finals_ByuN_VS_DnS
ffmpeg -ss "10:06:30" -i "RavenZ_Cup_VI_Finals.mp4" \
-t "00:43:30" -acodec copy -vcodec copy -movflags faststart \
"RavenZ_Cup_VI_Finals_ByuN_VS_DnS.mp4"
# RavenZ_Cup_VI_Finals_ByuN_VS_Hurricane
ffmpeg -ss "11:04:00" -i "RavenZ_Cup_VI_Finals.mp4" \
-t "00:25:35" -acodec copy -vcodec copy -movflags faststart \
"RavenZ_Cup_VI_Finals_ByuN_VS_Hurricane.mp4"
# RavenZ_Cup_VI_Finals_INnoVation_VS_DnS
ffmpeg -ss "11:36:03" -i "RavenZ_Cup_VI_Finals.mp4" \
-t "00:34:17" -acodec copy -vcodec copy -movflags faststart \
"RavenZ_Cup_VI_Finals_INnoVation_VS_DnS.mp4"
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<style>
body {
text-align: center;
}
video {
/*width: 620px;*/
height: 480px;
}
h2 {
text-align: left;
margin-top: 64px;
}
</style>
<title>RavenZ Cup VI FINALS</title>
</head>
<body>
<iframe width="1024" height="500"
src="README.html"></iframe>
<div class="note">
<p>请使用 <b>Chrome/Firefox</b> 浏览器观看。</p>
</div>
<div class="video">
<h2>赛事录像 (Raw: 12小时19分钟 , Fixed: 8小时32分钟) </h2>
<p>
<h3>RavenZ Cup VI FINALS </h3>
<video controls preload="metadata"
src="RavenZ_Cup_VI_Finals_Fixed.mp4"
type="video/mp4">
</video>
<p>
下载:
<a href="RavenZ_Cup_VI_Finals.mp4"
target_="_blank">原始(12小时19分钟 , ~12GB)</a>
|
<a href="RavenZ_Cup_VI_Finals_Fixed.mp4"
target_="_blank">修正(08小时32分钟 , ~12GB)</a>
</p>
</p>
<h2>赛事片段</h2>
<p>
<h3>ByuN vs. DnS[TvP] (43分钟30秒) </h3>
<video controls preload="metadata"
src="RavenZ_Cup_VI_Finals_ByuN_VS_DnS.mp4"
type="video/mp4">
</video>
<div>
下载:
<a href="RavenZ_Cup_VI_Finals_ByuN_VS_DnS.mp4"
target_="_blank">43分钟30秒 , ~666MB</a>
</div>
</p>
<p>
<h3>ByuN vs. Hurricane[TvP] (25分钟35秒) </h3>
<video controls preload="metadata"
src="RavenZ_Cup_VI_Finals_ByuN_VS_Hurricane.mp4">
</video>
<div>
下载:
<a href="RavenZ_Cup_VI_Finals_ByuN_VS_Hurricane.mp4"
target_="_blank">25分钟35秒 , ~392MB</a>
</div>
</p>
<p>
<h3>INnoVation vs. Dns[TvP] (34分钟17秒) </h3>
<video controls preload="metadata"
src="RavenZ_Cup_VI_Finals_INnoVation_VS_DnS.mp4"
type="video/mp4">
</video>
<div>
下载:
<a href="RavenZ_Cup_VI_Finals_INnoVation_VS_DnS.mp4"
target_="_blank">原始(34分钟17秒 , ~525MB)</a>
</div>
</p>
</div>
</body>
<script type="text/javascript">
</script>
</html>
#!/bin/bash
# sudo pip install --upgrade google-api-python-client progressbar2
# wget https://github.com/tokland/youtube-upload/archive/master.zip
# unzip master.zip
# cd youtube-upload-master
# sudo python setup.py install
youtube-upload \
--title="StarCraft 2 - ByuN vs. DnS[TvP] - RavenZ Cup VI Finals 2017" \
RavenZ_Cup_VI_Finals_ByuN_VS_DnS.mp4
youtube-upload \
--title="StarCraft 2 - ByuN vs. Hurricane[TvP] - RavenZ Cup VI Finals 2017" \
RavenZ_Cup_VI_Finals_ByuN_VS_Hurricane.mp4
youtube-upload \
--title="StarCraft 2 - INnoVation vs. DnS[TvP] - RavenZ Cup VI Finals 2017" \
RavenZ_Cup_VI_Finals_INnoVation_VS_DnS.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment