Upgrade to Pro — share decks privately, control downloads, hide ads and more …

シン・サーバの形は。

 シン・サーバの形は。

OUCC 第5回 LT会で発表したスライドです
author: @spring_raining

spring_raining

October 16, 2016
Tweet

More Decks by spring_raining

Other Decks in How-to & DIY

Transcript

  1. 痥㔐06$$-5⠓
    !TQSJOH@SBJOJOH

    View full-size slide

  2. 痥㔐06$$-5⠓
    !TQSJOH@SBJOJOH
    何׭
    ꐮ歗؟٦غ
    䒭䎃鼂㹧㣼陒

    View full-size slide

  3. ֿ׿ח׍כ
    ˖ כ׷ׁ׭!TQSJOH@SBJOJOH
    ˖ ⽃⡘Ⰻ鿇《׸ת׃׋
    ˖ ؝ى؛תד֮ה傈דׅ

    View full-size slide

  4. ꐮ歗닢ٔصُ٦،ٕ
    ˖ ⿠䎃劣ח'PMUJB̔$IJOBDIVפ⛦׶䳔ִ䖓כ

    ⡦✲׮זֻꐮ歗דֹגְ׷
    ˖ ⡦佦ٔصُ٦،ٕ

    View full-size slide

  5. ꐮ歗닢ٔصُ٦،ٕ
    ˖ ⿠䎃劣ח'PMUJB̔$IJOBDIVפ⛦׶䳔ִ䖓כ

    ⡦✲׮זֻꐮ歗דֹגְ׷
    ˖ ⡦佦ٔصُ٦،ٕ
    ˖ 暴ח椚歋כזְ

    View full-size slide

  6. $IJOBDIV
    ˖ ⚅歲♧ُؗ٦زזꐮ歗ءأذي
    ˖ -JOVY橆㞮ד⹛ֻ
    ˖ ثُ٦ش٦ⵖ䖴װ盖椚歗꬗ָ♧⡤⻉׃׋
    $IJOBDIV 傊
    ַ׵.JSBLVSVO ثُ٦ش٦ⵖ

    ה$IJOBDIV"JS ✮秈盖椚
    פⴓꨄ✮㹀

    View full-size slide

  7. IUUQTQSJOHSBJOJOHIBUFOBCMPHDPNFOUSZ

    View full-size slide

  8. IUUQTQSJOHSBJOJOHIBUFOBCMPHDPNFOUSZ
    44%
    &70(#
    )%%
    8%(SFFO5#–
    15
    ؕ٦سٔ٦ت
    $16
    $PSFJ5
    ًٌٔ
    1$(#–

    View full-size slide

  9. 圓䧭㔳
    SFDQU
    .JSBLVSVO 3JWBSVO $IJOBDIV
    PEBOHP
    FODPEFS
    44% )%%
    15 #$"4

    View full-size slide

  10. 圓䧭㔳
    SFDQU
    .JSBLVSVO 3JWBSVO $IJOBDIV
    PEBOHP
    FODPEFS
    44% )%%
    15 #$"4
    %PDLFS؝ٝذش

    View full-size slide

  11. %PDLFS
    ˖ %PDLFSسحؕ٦<>כاؿزؐؑ،؝ٝذشⰻך،فٔ؛٦ءّٝךرفٗ؎ًٝز׾荈⹛⻉ׅ׷ؔ٦فٝا٦
    أاؿزؐؑ،ד֮׷կ-JOVYؕ٦طٕחֶֽ׷չMJCDPOUBJOFSպהㄎל׸׷-JOVY؝ٝذش䪮遭<>הBVGTך״ֲז暴
    婊זؿ؋؎ٕءأذي׾ⵃ欽׃ג؝ٝذش㘗ך⟎䟝⻉׾遤ֲ<>կ
    ˖ 㼭ׁז؟؎ؤדְֻא׮؝ٝذش ⟎䟝涸זو
    ءٝ
    ׾⡲׷ֿהָדֹ׷
    ˖ EPDLFSDPNQPTFד醱侧ך%PDLFS؝ٝذش
    ׾תה׭ג盖椚

    View full-size slide

  12. .JSBLVSVO؝ٝذش
    ˖ 15 57ثُ٦ش٦
    ַ׵

    崧׸גֻ׷54أزٔ٦ي׾
    ،ٖ׃ג埆崧׃
    SFDQU
    .JSBLVSVO
    15

    View full-size slide

  13. $IJOBDIV؝ٝذش
    ˖ .JSBLVSVO؝ٝذش
    ח䱸竲׃ג54׾44%
    ח⥂㶷
    ˖ ꐮ歗✮秈׮盖椚
    3JWBSVO$IJOBDIV 傊
    ָ.JSBLVSVO׾⢪ֲ׋׭ך،فٔ؛٦ءّٝ
    3JWBSVO $IJOBDIV
    44%

    View full-size slide

  14. ꐮ歗ֶׁׄ׿

    View full-size slide

  15. ꐮ歗ֶׁׄ׿
    54窫㼎⥂㶷ׅ׷
    ֶׁׄ׿
    ؒٝ؝٦س

    ֶׁׄ׿
    3"*%

    ֶׁׄ׿
    ؝٦رحؙ
    ֶׁׄ׿

    View full-size slide

  16. ꐮ歗ֶׁׄ׿
    54窫㼎⥂㶷ׅ׷
    ֶׁׄ׿
    ؒٝ؝٦س

    ֶׁׄ׿
    3"*%

    ֶׁׄ׿
    ؝٦رحؙ
    ֶׁׄ׿

    View full-size slide

  17. ؒٝ؝٦س؝ٝذش
    ˖ ꐮ歗ָ㸣✪ׅ׷הؒٝ؝٦س
    Ꟛ㨣
    ˖ NQFHדؒٝ؝٦س
    ̔)%%ח⥂㶷
    ˖ IUUQTHJUIVCDPNTQSJOHSBJOJOH
    PEBOHPFODPEFS
    PEBOHP
    FODPEFS
    44% )%%

    View full-size slide

  18. 猼⠗ךػًٓ٦ة
    ffmpeg -i input.ts \
    -threads 0 \ // ϚϧνεϨουԽ
    -f mp4 \ // ग़ྗίϯςφ
    -c:v libx264 \ // ө૾ίʔσοΫ
    -c:a libfdk_aac \ // Ի੠ίʔσοΫ
    -b:v 1536k \ // ө૾ϏοτϨʔτ
    -b:a 192k \ // Ի੠ϏοτϨʔτ
    -r 30000/1001 \ // ϑϨʔϜϨʔτ (30000/1001 = 29.97fps)
    -aspect 16:9 \ // ΞεϖΫτൺ
    -s 1280x720 \ // ө૾αΠζ
    -flags +loop \ // +loop ϒϩοΫϑΟϧλ༗ޮԽ
    -filter:v yadif \ // ΠϯλʔϨʔεղআ
    -pass 1 \ // 1ύεΤϯίʔυ
    -level 31 \ // x264Ϩϕϧ (1920x1080Ͱ͸41ʹ)
    -refs 6 \ // ಈ͖༧ଌ༻ϑϨʔϜࢀর਺
    -bf 3 \ // ࠷େ࿈ଓBϑϨʔϜ਺
    -ar 48000 \ // Ի੠αϯϓϦϯάϨʔτ
    output.mp4
    䞔㜠
    実׬

    View full-size slide

  19. وءٝכ傀ח⹛ְגְ׷
    ꐮ歗؟٦غאך׫

    View full-size slide

  20. ➙⢪׏גְ׷ꐮ歗؟٦غ♳ד
    إحز،حفׅ׷׃ַזְ

    View full-size slide

  21. ׮׋׮׋׃גְ׷ה
    ➙兓ך،صًח꟦חさ׻זְ

    View full-size slide

  22. إحز،حفך荈⹛⻉
    ˖ ֮׵ַׄ׭װ׵זֽ׸לְֽזְ✲׾ٖءؾ
    ח׃ג"OTJCMFד荈⹛㹋遤
    )PTU $MJFOU
    44)

    View full-size slide

  23. cowsayΛΠϯετʔϧͯ͠
    ࢖ͬͯΈΑ͏

    View full-size slide

  24. ˖ 7BHSBOU׾⢪׏ג魦➿׻׶ך؟٦غ׾⡲׷
    ˖ %PDLFSהכ麩ְ׮ֲאך⟎䟝وءٝ׾欽
    䠐ׅ׷؎ً٦آ
    إحز،حفךٔع٦؟ٕ
    )PTU
    $MJFOU
    $MJFOU

    View full-size slide

  25. ˖ 7BHSBOU׾⢪׏ג魦➿׻׶ך؟٦غ׾⡲׷
    ˖ %PDLFSהכ麩ְ׮ֲאך⟎䟝وءٝ׾欽
    䠐ׅ׷؎ً٦آ
    إحز،حفךٔع٦؟ٕ
    )PTU
    $MJFOU
    $MJFOU

    View full-size slide

  26. 穠卓
    ˖ 㸣Ⰻח荈⹛דإحز،حفָ㸣✪
    ˖ IUUQTHJUIVCDPNTQSJOHSBJOJOHPEBOHPW

    View full-size slide

  27. ֲֿ׃ג剑䓼ךꐮ歗橆㞮ָ

    㸣䧭ׁ׸׋ך׌׏׋

    View full-size slide

  28. 穠锷
    ˖ 窫㼎חꐮ歗ח㣟侁׃׋ֻזְ➂חכ֮ת׶

    ؔأأًדֹזְ˘
    ˖ ꐮ歗؟٦غ׾荈ⴓז׶ח崞欽׃׋ְ➂חؔأ
    أً
    ˖ ֮׷ְכꐮ歗荈⡤ח嚂׃׫׾鋅ְ׌ׇ׷➂

    View full-size slide

  29. ꐮ歗؟٦غ׾圓眠דֹ׷ךכ
    ꐮ歗ח㣟侁ׅ׷鋙䝎ך֮׷

    㥐׌ֽ׌

    View full-size slide