2016年11月26日 星期六

ffmpeg keyframe interval

...So "keyint=60" for 30FPS, "keyint=120" for 60FPS, etc. I'm heard OBS has an option for it soon. This spec is ok for YoutTube and Facebook live.

REF: https://mobile.twitter.com/bgeorge/status/367500390969147392

HD IT daemon migration

測試時如果播了一個 SD 之後是 HD,Playout 會自動切換,有 DV25、MPEG2 啊,這是原來的 SD。不會常常 HD <-> SD,這個主要是用來做 migration 的,因為 HD 不一定何時能上,但是 migrate 到新硬體是要做的,因此一隻程式測好了,上 SD、HD 就根據狀況選擇,因此之後要處理的有:

1. 所有程式 migrate 到新硬體
2. 測試 HD playout (主控先,接著副控)
3. 全系統升級至 64 bit (for 未來硬體與 4K 播出需求)
1 與 2 可以同時進行,不互斥
3 要等 1 完成才能進行
1 就是一個一個 daemon 升級,如果能建一個跟線上很接近的測試環境測好了再上是最好,如果沒有就是邊上邊測,一個一個 daemon migrate

ffmpeg live feed input

List input devices:
ffmpeg -f decklink -list_devices 1 -i dummy
List supported formats:
ffmpeg -f decklink -list_formats 1 -i 'Intensity Pro'
Capture video clip at 1080i50 (format 11):
ffmpeg -f decklink -i 'Intensity Pro@11' -acodec copy -vcodec copy output.avi
Capture video clip at 1080i50 10 bit:
ffmpeg -bm_v210 1 -f decklink -i 'UltraStudio Mini Recorder@11' -acodec copy -vcodec copy output.avi
Capture video clip at 1080i50 with 16 audio channels:
ffmpeg -channels 16 -f decklink -i 'UltraStudio Mini Recorder@11' -acodec copy -vcodec copy output.avi

REF: https://ffmpeg.org/ffmpeg-devices.html

HD upgrade budget estimation


  • 3 cams & rebuilt from regular office = NT $20,000,000, cheaper than  NT$100 million of normal construction.
  • iNews or ENPS for News NCS.
  • SAN infra for 50Mbps video editing. 
  • Sony or Panasonic spec.
  • building a studio: 2000-8000
  • virtual studio: 600 
  • Units: 2000 2000 3000
  • or 1000 2000 3000

2016年11月22日 星期二

Check_MK: Actions

REF: https://mathias-kettner.de/checkmk_mkeventd_actions.html

The Event Console allows you to perform two kinds of actions:
  • Send Emails
  • Execute custom shell scripts
Please make sure that your script is not taking too much execution time. During the execution of the script the event daemon is blocked. If that is a problem for you, a trick is to make the script create an at-Job:
trick
echo "/usr/local/bin/my_script" | at now

2016年11月21日 星期一

G Suite permissions

User role assignment can be done as following.

REF: https://support.google.com/a/answer/172176?hl=en

Fintech

  • AI  intelligent matching, trusted security
  • deep learning credential modeling
  • bio matching
  • block chain
  • machine learning and pricing

M-shape society

Human society becomes more and more M-shape after industrial revolution. In order to survive within this evolution, middle-scale companies will always need to decide scaling up or down. Downgrading to smaller scale may be easier, but competition of cheap pricing and large quantity becomes much harder and crowed recently. Seems that upgrading may be a better choice.

2016年11月18日 星期五

log timechart

Creating time chart for gathered logs with Splunk is very easy. We can also utilize filtering tools such as logwatch to simplify log events first, then use splunk as a simple visulization platform.

host=group_* CRIT | timechart count by host

moodle learning platform

using online learning such as moodle is convenient for evaluating learning for students or staffs, and also save time and money for holding real-world events.