[Tech Insights] Panasonic Color Splitter Sensor

There is a new sensor structure that introduce by Panasonic to replace color filter by color splitter. This kind of sensor remove general color filter and add the color deflector before the diode. The conventional color filter would cause 50%~70% light loss and new sensor reduce lots of the light loss. The following pictures show how it works. The device can also be manufactured using current semiconductor fabrication processes. It doesn’t use special materials or processes. It’s a great news to bring this sensor to realization. ...

April 1, 2013 · 1 min · 174 words · ChenFu Kuo

[工作點滴] rtmps in rtmpdump with hardware engine development

Evostream server’s configuration for rtmps test Add the following content in the acceptors part in config.lua. This is for Win7 configuration and remember that we have to use double ‘' instead of single for path. The cipherSuite parameter, we could reference http://www.openssl.org/docs/apps/ciphers.html#CIPHER_SUITE_NAMES RTMP library The library is main from rtmpdump. The webpage is http://rtmpdump.mplayerhq.hu. The libssl library - SSLv23 method is used in the RTMPdump. - SSLv23 method A TLS/SSL connection established with these methods will understand the SSLv2, SSLv3, and TLSv1 protocol. ...

April 1, 2013 · 3 min · 431 words · ChenFu Kuo

[Work Notes] Generating Makefile with Autotools and Makefile.am

Quick reference for generating a Makefile using the Autotools workflow: # autoscan . // Scan the folder to generate configure.scan # cp configure.scan configure.ac // Copy configure.scan to configure.ac # vi configure.ac // Edit configure.ac // Add: AM_INIT_AUTOMAKE(hello,1.0) // This is the required marco for automake # aclocal // Execute aclocal to generate aclocal.m4 # autoconf // Execute autoconf to generate configure # autoheader # automake --add-missing // Run automake # touch NEWS; touch README; touch AUTHORS; touch ChangeLog // Create required documents # automake --add-missing // Run automake again # ./configure // Execute configure to generate Makefile # make // Execute make Following these steps provides a good template to modify the related files for my specific target project.

March 19, 2013 · 1 min · 120 words · ChenFu Kuo

[Work Notes] GStreamer: Migrating from 0.10.x to 1.0.x in OpenWrt

I start to move the gstreamer version from 0.10.x to 1.0.x in openwrt. Two purpose, one is to get much more familiar with the gstreamer applications and plugins development, another one is to assist my colleagues for next schedule. Just make a quick note here. Official gstreamer packages version I use is 1.0.5: gstreamer core → Modify Makefile and patch, compile ok. gst-plugins-base → Modify Makefile and patch, compile ok. gst-plugins-good → Modify Makefile and patch, compile ok. gst-plugins-ugly → To be check if required. gst-plugins-bad → Modify Makefile and patch, compile ok. gst-libav → To be check if required. Proprietary plugins: ...

March 18, 2013 · 2 min · 260 words · ChenFu Kuo

[Work Notes] SIP Test of FreeSwitch by FSClient

In previous articles, I tried to build the pjsip package, but it’s hard to verify that the package works correctly without a solid understanding of SIP. So I decided to get more familiar with how SIP works by setting up a switch. There are two popular choices: Asterisk and FreeSwitch. I chose FreeSwitch because pre-compiled binaries for Windows 7 are already available. http://wiki.freeswitch.org/wiki/Installation_Guide After installation, remember to allow the application through the firewall. Since this is just for testing, I ran FreeSwitch with the default configuration. ...

March 13, 2013 · 1 min · 205 words · ChenFu Kuo

SIP Testing: FreeSWITCH with FSClient

In previous posts, I documented my attempts to build the pjsip package. However, verifying its correctness was challenging due to my limited foundational knowledge of the SIP (Session Initiation Protocol) stack. To rectify this, I decided to set up a controlled environment to better understand the protocol’s mechanics. The first step was setting up a SIP server (Switch) on a PC. My two primary contenders were Asterisk and FreeSWITCH. I ultimately chose FreeSWITCH because it offered precompiled binaries for Windows 7, which significantly lowered the barrier to entry for initial testing. ...

March 13, 2013 · 2 min · 257 words · ChenFu Kuo

[Work Notes] PJSIP on Ubuntu

Before trying to make the pjsip work on my embedded device, I build the related libraries on PC as the reference. My environment is based Ubuntu 10.04. See the following guide. http://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf The notes of packages building: ALSA and OpenSSL libraries are optional and I do not install for first. SDL: download version 2.0 and do ./configure, make; make install to install. Add sudo if encountering privilege problems. FFMPEG: reference the official FFMPEG documentation at https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide. Follow the guide to build yasm, x264 and ffmpeg. The ffmpeg version (0.10.6) and building process follow the pjsip guide. ...

March 12, 2013 · 2 min · 271 words · ChenFu Kuo

[Work Notes] PJSIP Package Build in OpenWrt

There is a default pjsip package in the openwrt but it links to the extension package of ltq-tapi and oss. What I need first is the package without extra packages. So I try to create the libraries using the latest version 2.1 for the experiment. First, the Makefile of the package: include $(TOPDIR)/rules.mk PKG_NAME:=pjsip2 PKG_VERSION:=2.1 PKG_RELEASE:=0 PKG_SOURCE:=pjproject-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.pjsip.org/release/$(PKG_VERSION)/ PKG_MD5SUM:=310eb63638dac93095f6a1fc8ee1f578 PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/pjproject-$(PKG_VERSION).$(PKG_RELEASE) include $(INCLUDE_DIR)/package.mk define Package/pjsip2 SECTION:=lib CATEGORY:=Libraries URL:=http://www.pjsip.org/ MAINTAINER:=John Crispin <[email protected]> TITLE:=pjsip2 DEPENDS:=+libuuid endef CONFIGURE_ARGS += \ --disable-floating-point \ --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-g7221-codec \ --disable-gsm-codec \ --disable-ilbc-coder \ --disable-libsamplerate \ --disable-ipp \ --disable-ssl \ --disable-oss \ --disable-sound define Build/Configure (cd $(PKG_BUILD_DIR); autoconf aconfigure.ac > aconfigure) $(call Build/Configure/Default) endef define Build/Compile CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS) -lc $(LIBGCC_S) -lm" \ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/pjsip2 $(CP) $(PKG_INSTALL_DIR)/usr $(1)/usr/pjsip2 endef $(eval $(call BuildPackage,pjsip2)) We encounter the following problem: ...

March 12, 2013 · 2 min · 260 words · ChenFu Kuo

[Industry Observation] Evernote Was Hacked

I’ve already change my tool from the notepad++ or Microsoft’s word to Evernote to make a quick note for several months. It’s quite simple to use and the data can be synchronize to cloud and I could access my notes through network everywhere anytime. There is a news that Samsung’s refrigerator built in Evernote for food management and Samsung show this device in the CES show. The story at this moment, I think Evernote make his products go into a new era. However, the morning sun never lasts a day. Evernote was hacked and the customers information were possibly stolen last week. ...

March 7, 2013 · 2 min · 216 words · ChenFu Kuo

Evernote Was Hacked

Several months ago, I switched my primary note-taking tool from Notepad++ and Microsoft Word to Evernote. Its simplicity, cloud synchronization, and universal accessibility through the network made it indispensable. There was a buzz recently about Samsung’s new refrigerator featuring an integrated Evernote app for food management, showcased at CES. At that moment, it felt like Evernote was ushering in a new era for its ecosystem. However, as the saying goes, “the morning sun never lasts a day.” Evernote was hacked last week, and customer information was potentially compromised. ...

March 7, 2013 · 1 min · 182 words · ChenFu Kuo