跳到主要內容

發表文章

目前顯示的是 5月, 2017的文章

[Android] Video Support

  Android Media Support https://developer.android.com/guide/topics/media/media-formats.html ffmpeg https://ffmpeg.org/ffmpeg.html http://lnpcd.blogspot.tw/2012/07/ffmpeg-mp4.html 在Mac OSX上安裝ffmpeg && ffmpeg命令行將h264封裝為mp4 https://depthlove.github.io/2015/09/24/install-ffmpeg-to-MacOSX-and-use-ffmpeg-to-transform-h264-to-mp4/ FFmpeg 中文文件計畫 https://sites.google.com/site/ffmpegdoc/man-page   Test ffmpeg -y -i i.mpg -c:v libx264 -vf scale=1280:720 -c:a aac -b:v 1.5M -b:a 192k -pass 1 o.mp4 ffmpeg -y -i 20170504022437.mp4 -framerate 30 -c:v libx264 -vf scale=1280:720 -c:a aac -strict -2 -b:v 1.5M -b:a 128k ../output/20170504022437.m4v ffmpeg -y -r 30 -i 20170504022437.mp4 -c:v libx264 -vf scale=1280:720 -c:a libvo_aacenc -b:v 1.5M -b:a 128k ../output/20170504022437.m4v FULL_FILE_NAME=$1 EXTENSION_NAME="${FULL_FILE_NAME##*.}" FILE_NAME="${FULL_FILE_NAME%.*}" NEW_FILE_FULL_NAME="$FILE_NAME.m4v" ffmpeg -y -i $FULL_FILE_NAME \ -c:v libx264

[NodeJS] Remote log - console.re

官網: http://console.re/   使用方式︰ 1.先產生一組隨機的Channel Name 2.這個Channel Name要複制起來,程式裡面會用到 3.點GO就會進到log的console For Node.js 安裝︰ npm install console-remote-client 使用︰ var consolere = require('console-remote-client').connect('console.re','80','b544-248d-ac9a'); console.re.log('remote log test');   以上      

[Redis] Redis Server

官網: https://redis.io/ Redis是一個開源的NoSQL資料庫,以一個key對應一個value的方式並配合記憶體(RAM)來儲存資料,效能要比關聯式資料庫還要好很多,可以在許多程式語言上使用。Redis的value除了字串(string)型態之外,另外還有幾種比較特殊的結構,包括set、zset、list和hash,並提供了多種方式來操作這些欄位。   For Windows: 似乎不支援Windows...於是… [料理佳餚] 在 Windows 上安裝 Redis: https://dotblogs.com.tw/supershowwei/2015/12/23/124549 https://github.com/MSOpenTech/redis/releases   For Mac: 自己compile  http://www.jianshu.com/p/6b5eca8d908b 用homebrew  http://www.jianshu.com/p/af33284aa57a   For ubuntu: Ubuntu如何架設Redis Server並且與PHP一同使用? https://magiclen.org/ubuntu-redis-php/   等有空再來玩玩~ 上次沒辦法完成的connect-redis總是遺憾吶 Using Redis to handle Session in Node.js https://codeforgeek.com/2015/07/using-redis-to-handle-session-in-node-js/ http://wiki.jikexueyuan.com/project/node-lessons/cookie-session.html   查詢Redis的方式 For MAC 連線到Redis Server: telnet [Redis Server IP] [Redis Server Port] 列出所有的Key值: keys * 取得該key的value值:[key]表示keys *取得的key值 get [key] 離線Redis:control+] 離線Telnet:quit 參考︰ https://www.tipga.c

[TV] Sony 4K 55' 規格

主要是比較7000D 及 8500D   直下式 側光式 http://barnvege.pixnet.net/blog/post/69351765 項目 優 缺 Direct-lit (Back-lit) 直下式 區域調光佳 電視厚 均勻度稍佳 全陣列耗電 明暗細節佳 貴 對比度高 Blooming   mura or clouding effect Edge-lit 側光式 電視薄 區域調光差 便宜 漏光明顯   明暗細節差   mura or clouding effect   Sony 官方比較︰ https://www.sony.com.tw/zh/electronics/tv/t/televisions?view=compare&type=4k_hdr     4K 超極真影像處理器 X1™? https://www.mobile01.com/topicdetail.php?f=347&t=5019259 這個貴了10K的東西,感覺是針對類比訊號來加強用的,但畫質差的再怎麼加強也不會有用吧?!  

[PS4 VR] 影片轉檔

怎麼用索尼PSVR看安卓VR 360° 3D視頻 => 將雙眼視頻改成單眼視頻,將格式改成MPEG-4,解析度1920*1080 ,60幀 15000kbps https://kknews.cc/tech/vme9a5l.html ============================================================== Wondershare Filmora:  8.0.0 for Mac 破解版下載 http://www.iphoneba.net/2563.html v8.2.0 http://www.zhinin.com/wondershare_filmora-mac.html ============================================================== for Littlstar http://docs.littlstar.com/plugins/servlet/mobile?contentId=2262863#content/view/2262863 Video Requirements H.264 High@5.1 or lower Max pixel width: 2560 Max frame rate: 60fps (最好是29.97) YUV420/NV12 color space 20Mbps bit rate or lower Audio Requirements Stereo Audio only AAC (Advanced Audio Coding) 320Kbps bit rate or lower Container Requirements File extensions: MP4, MOV No fragmented MP4 No DRM 15 min max duration 以上~ Littlstar不支援平面的3D格式,只支援180或360 而PSVR的媒體播放器不支援3D,只支援360 ============================================================== Make 3D Videos For PSVR Wat