Posts

Showing posts from 2016

VR/360 Live record

Image
I testing VR/360 Livestreaming. some of my rigs.
6xGopro6xHDMI capture cardfreedom360's mountsHigh performance laptopVahana VRread more
Virtual reality live streaming on Azure Media ServicesHow to Live Stream 360-degree videos (Vahana VR)Virtual Reality and 360-degree Live Streaming with Wowza
If you interested the VR/360 solutions, i.e. live concert, sports, auto racing, online commercial AD. Please contact #Thailivestream

open source Video transcoder project

Image

Chat bot platform lists

Image
Chat bot platform lists Flow XOChatfuelManychatBotsifyMeya - free 500/moapi.aiwit.aimicrosoft bot frameworkonsequelsmooch.io - free 2500/momsg.aifacebook Messenger Platformbeepboophqbotkitinit.aiI have try few bot. Seem chatfuel is very simple.









and more http://www.hongkiat.com/blog/tools-to-build-chatbots/

Make bootable usb on Linux (dell bios/firmware upgrade)

Image
1. use lsusb, lsblk to check USB device

2. use gparted to prepare thumbdrive as FAT32 and FORMAT



3. use unetbootin to write .iso (May you need to mount /dev/sdbX)

If you see below warning dialor. You need to mount .i.e.  mount /dev/sdb1 /mnt/sdb1



make bootable usb on ubuntu

Image
just note how to make bootable usb on ubuntu

First - unmount usb devices
useumount /mnt/sdb1can't unmount?  try fuser -km /mnt/sdb1Check - Linux should see usb device use command  fdisk -l. shoud see /dev/sdbXlsblk
Write image sudo dd bs=4M if=/mnt/ubuntu-14.04.5-server-i386.iso of=/dev/sdb1
Write image and monitor progress install pv by apt-get install pvdd if=/mnt/ubuntu-14.04.5-server-i386.iso | pv -s 2G | dd of=/dev/sdb1 bs=4096 Dont forget sync!

sudo sync
Example
dd if=/root/bootusb/ubuntu-14.04.5-server-i386.iso | pv -s 700M | dd of=/dev/sdb1 bs=4096






Easiest way is use

gpartedunetbootin

3G Bandwidth bonding solutions

Image

Haproxy DDoS Protection config

Image
frontend public
bind *:80

# table used to store behaviour of source IPsstick-table type ip size 200k expire 5m store gpc0,conn_rate(10s)

# IPs that have gpc0 > 0 are blocked until the go away for at least 5 minutesacl source_is_abuser src_get_gpc0 gt 0
tcp-request connection reject if source_is_abuser

# connection rate abuses get blockedacl conn_rate_abuse sc1_conn_rate gt 30
acl mark_as_abuser   sc1_inc_gpc0  gt 0
tcp-request connection track-sc1 src
tcp-request connection reject if conn_rate_abuse mark_as_abuser


Reference haproxy docsUse a load-balancer as a first row of defense against DDOS


Convert videos to m3u8 (HLS)

Image
I looking for simple tools to convert mp4 files to m3u8 format (HLS). Seem not much software that support m3u8. May be it not mass format for end users? :/
Pavtube Video Converter
link: http://www.multipelife.com/video-converter-ultimate

Brorsoft Video Converter


link: http://brorsoft.com/video-converter/

Both Pavtube Video Converter & Brorsoft Video Converter is very similar software. I think these software may develop by same company.



FFmpegThis way not for end users. I just note it. 
ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -s 1290x720 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8



read more: https://www.keycdn.com/support/how-to-convert-mp4-to-hls/


I just wonder if no GUI software that support m3u8 as I expect. Also the software can't convert m3u8 as segment too.

If you have another software. Please let's me know. Thanks!

How to change/modify container options (after docker run)

Image
Follow these step stop docker service (service docker stop)cd to /var/lib/docker/containers/{container id}/
You can use commanddocker inspect {container name}to see the container id
modify config.v2.json or hostconfig.jsonstart docker (service docker start)

WebRTC for Real-Time Communications

Image
What is WebRTCWebRTC - Wikipedia - The History, OverviewGoogle WebRTC codelabsGetting Started with WebRTC by HTML5 RocksWebRTC Tutorial by tutorialspointWebRTC BROWSER APIS AND PROTOCOLS, CHAPTER 18
WebRTC SDKTwilio (https://www.twilio.com) - Free for STUN, Paid for TURNooVoo SDK (https://developers.oovoo.com/) - Free, but Paid for commercial products.XirSys SDK (http://xirsys.com/developers/) - Free for STUN, Paid for TURNAppear.in - just embedded, only backgrand customizeskyway by NTT
WebRTC Libs/Framework
SimpleWebRTC (https://simplewebrtc.com/)adapter.js - AdapterJS provides polyfills and cross-browser helpers for WebRTCEasyRTC - Javascript API hides the differences between Chrome and Firefox browsers and simplifies coding needed for working WebRTC apps.PeerJS - focus on P2P

WebRTC Test Tool
WebRTC testWebRTC Troubleshooter - WebRTC check
WebRTC Server

kurentoIntel® Collaboration Suite for WebRTC (Intel® CS for WebRTC)Intel® Collaboration Suite for WebRTCrfc5766-turn-server - TURN server…

Wowza Streaming Engine 4.5 released

Image
Wowza Streaming Engine 4.5.0, build 18676, released on June 23, 2016. These highlights
Facebook Live, SHOUTcast, and Icecast stream target integration Apple HLS delivery to generic targetsIntegration of Panasonic® AW-series PTZ cameras and AJ-series camerasPassthrough and transcoded stream SCTE-35 and KLV marker preservationSimple Network Management Protocol (SNMP) support
Detailed list of changes in Wowza Streaming Engine 4.5.0

Install/Update/Uninstall

Fixed a logic bug in update tool post-uninstall actions, that caused the update tool to log an error when there wasn't one and to not log an error when there was (in this latter case, the "Restoration complete" message wouldn't be shown)Fixed update tool issue where permissions and execute settings were lost when uninstalling an update on OS X and Linux





Wowza Streaming Engine Manager


Fixed multicast in/out interface address assignments in the VHost configuration section of the managerFixed application creation in the manage…

Get message from Youtube live chat

Image
My quick note - How to retrieve Youtube live chat. (You need to use Youtube API)

Use WebServcie LiveBroadcasts: list. The method will show current live event. Find out LiveChatId (aka chat room id)

Next - use LiveChatMessages: list to get chat messages (Notice textMessageDetails)