Commits

Woojong Koh  committed 72efeb5

Add encode_imgs_to_slideshow.sh file

* Update subrepos

  • Participants
  • Parent commits f1b2f76

Comments (0)

Files changed (4)

 341785bb1bfec38f62d210e2d01ae79f40028e86 .vim/bundle/OmniCppComplete
 2cbe946206ec622d9d8cf2c99317f204c4d41885 .vim/bundle/a.vim
 b5d3fe66a58a13d2ff8b6391f4387608496a030f .vim/bundle/ctrlp.vim
-2dc880bf1c6a593321c8eb42226a33e5aecc3dd6 .vim/bundle/delimitMate
+f00f6b6cf25bc59e8d789be10228e1ac2ccbf233 .vim/bundle/delimitMate
 852ddb0c6590bbc41c508d7f5d2fc17112492def .vim/bundle/grep.vim
 eb9fc8676b8959c3c2c95bf6b6e8f0f44317c5c0 .vim/bundle/gundo.vim
 da44ba4a92eef3860bdee2d96d755a7171889a70 .vim/bundle/neocomplcache.vim
 b0bb781fc73ef40365e4c996a16f04368d64fc9d .vim/bundle/nerdtree
 f5a75d075d3c005ebe69e3f5e56cf99516e8aa3b .vim/bundle/snipmate.vim
-88d74640793d58e7880feea508ccf3fd71201d65 .vim/bundle/tagbar
-233e3c60ce3a357550f0878a91d94e79c3963728 .vim/bundle/vim-airline
+ace45adc51d0e08d45761bb515a9ff23906cba65 .vim/bundle/tagbar
+576d1de716c1e3fff994aa2503ba0339446dca17 .vim/bundle/vim-airline
 a761d9f780b7fe29dc7f717d3852d35204147ab5 .vim/bundle/vim-buffergator
 528a59f26d12278698bb946f8fb82a63711eec21 .vim/bundle/vim-colors-solarized
 a3ae0df1d9e13941e9e8086637055841ce93f7bd .vim/bundle/vim-commentary
 6a4d1933ad61ad94f2fa06905337a51cb0304ac1 .vim/bundle/vim-eunuch
-6b338bdbcfc379af06ae1be7efdf533a82600477 .vim/bundle/vim-fugitive
+546a6bf2197529ed1bd402244cbf6e72ed62b2ca .vim/bundle/vim-fugitive
 78fffa609b3e6b84ef01ee4c9aba6d7435d7b18e .vim/bundle/vim-indent-object
 16e873b2a4a8421fcbcf9a1b57ee0bbfe6bbe358 .vim/bundle/vim-lawrencium
 1270dceb1fe0ca35f8b292c7b41b45b42c5a0cc1 .vim/bundle/vim-pathogen
-a81bef76031ca1c71766b516417480caeb01c932 .vim/bundle/vim-repeat
-7f57ee5af62cde3eafca84baed589b240bb43ce8 .vim/bundle/vim-signify
+2a3c5f8e3c26a57b8eb4cfc4be79615a1c508ef6 .vim/bundle/vim-repeat
+9e83f243e7d743bb763601f450521f861aa31d33 .vim/bundle/vim-signify
 15 .vim/bundle/web-indent
 19afd8812fc1ff8558b7223ce9fb19a28d15d2ff tmux-powerline

File bin/encode_imgs_to_slideshow.sh

+#!/bin/bash
+
+# Render once in 50 frames and the original FPS is 25.
+# -> (1 / 25) sec * 50 = 2 sec/frame
+# -> 1/2 fps
+ffmpeg -r 1/2 -pattern_type glob -i 'frame_*.png' -c:v libx264 -r 25 -pix_fmt yuv420p output.mp4

File bin/encode_imgs_to_vid.py

              '-vcodec', 'libx264',
              '-threads', args.threads,
              '-preset', 'veryslow',
-             '-crf', '18',
+             '-crf', '18',  # Original setting
+             #'-crf', '12',  # High-quality setting
              '-pix_fmt', 'yuv420p',  # for QuickTime
              #'-bf', '0', '-g', '1',  # Frame-by-frame scrubbing
              '-movflags', '+faststart'  # faststart for Web video

File bin/hg_commithook.sh

 SUBJECT=$(hg log -r $HG_NODE --template '{desc|firstline}')
 
 (
-    echo $SUBJECT
+    echo Hg: $SUBJECT
 ) | dayone new