Skip to content

Instantly share code, notes, and snippets.

@LuoZijun
Last active July 3, 2016 15:13
Show Gist options
  • Save LuoZijun/9460d4d54d4b12e2c0f5d4b43c065734 to your computer and use it in GitHub Desktop.
Save LuoZijun/9460d4d54d4b12e2c0f5d4b43c065734 to your computer and use it in GitHub Desktop.
[爱,方式,包容,创意 —— 在微软设计] 下载
Date

07/03 2016

Source

daxue.qq.com/content/content/id/2578

#!/bin/bash
wget "http://124.14.5.146/vkp.tc.qq.com/g0020wzmc0c.p212.1.mp4?sdtfrom=v1080&type=mp4&vkey=7B52EA985A2760EFD2CD753611AAD320F28019B773A0323A3C76CAAB854C62C5D63404FC42A11838338F795C4DD84D59897AA0BDBEEB903680F07019E5CFFECE45A0CDED9FDE26708D6B1012B7F469D17806FBE8EEAF4D1C&level=0&platform=70902&br=60&fmt=hd&sp=0&guid=1D7E3514B72F7A70CD2F9C64EC32CC8C4702AD5C" -O "g0020wzmc0c.p212.1.mp4"
wget "http://124.14.5.146/vkp.tc.qq.com/g0020wzmc0c.p212.2.mp4?sdtfrom=v1080&type=mp4&vkey=519D15F42C32253B96AFF20B75FE6BFC68D68B74FDAC94460C3D155652CE226715FF8E7B302E31B517E0D5BA4B2DA030B9F8BB407988E3A5451606829023D1A2E95D62BBB9212B6AB09BC7EFB56AD5EE30EBABC4799B328C&platform=70902&br=60&fmt=hd&sp=0&guid=1D7E3514B72F7A70CD2F9C64EC32CC8C4702AD5C" -O "g0020wzmc0c.p212.2.mp4"
wget "http://124.14.5.146/vkp.tc.qq.com/g0020wzmc0c.p212.3.mp4?sdtfrom=v1080&type=mp4&vkey=405824AA721DF4C917B5977D42F222FC7F43C9826EC3D41C0AEA849D7DD8D41FFFFC9CFC567FCF0B8331A99AE939EB385839CDF71802DC9DF77307FFAB48E167B736109B9B617686CA3AB766C9120D3333F8CC00B073A562&platform=70902&br=60&fmt=hd&sp=0&guid=1D7E3514B72F7A70CD2F9C64EC32CC8C4702AD5C" -O "g0020wzmc0c.p212.3.mp4"
ffmpeg -i "g0020wzmc0c.p212.1.mp4" 1.mpg
ffmpeg -i "g0020wzmc0c.p212.2.mp4" 2.mpg
ffmpeg -i "g0020wzmc0c.p212.3.mp4" 3.mpg
# For Windows: copy /b 1.mpg+2.mpg+3.mpg all.mpg
cat 1.mpg 2.mpg 3.mpg > all.mpg
ffmpeg -i all.mpg output.mp4
# ffmpeg -i "g0020wzmc0c.p212.1.mp4" -vcodec copy -acodec copy -vbsf h264_mp4toannexb 1.ts
# ffmpeg -i "g0020wzmc0c.p212.2.mp4" -vcodec copy -acodec copy -vbsf h264_mp4toannexb 2.ts
# ffmpeg -i "g0020wzmc0c.p212.3.mp4" -vcodec copy -acodec copy -vbsf h264_mp4toannexb 3.ts
# ffmpeg -i "concat:1.ts|2.ts|3.ts" -acodec copy -vcodec copy -absf aac_adtstoasc output2.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment