PNM, PNG, TIFF in Gstreamer

1. Gstreamer to PNM to Tiff Gstreamer PNM Script /opt/gst-installed/bin/gst-launch-1.0 -e v4l2src num-buffers=8000 io-mode=1 blocksize=512 \ ! video/x-raw, format=GRAY16_LE, width=640, height=512 , framerate=7/1 ! queue \ ! videorate ! video/x-raw, framerate=1/1 ! pnmenc \ ! multifilesink async=1 location=${RECORD_DIR}/tau2pipe_${TIMESUBFIX}/tau_%05d.pnm Netpbm - Pnm to tiff To manimulate pnm, install netpbm package > sudo apt-get install netpbm Then... Continue Reading →


[Debian Bug] FAT32 Timestamp Offset Issue

FAT32 should be saved using localtime instead of UTC, designed by microsoft. However, FAT32 in Raspbian Version of Linux is saving timestamp with UTC time even without tz=UTC option in the /etc/fstab file. In particular case, the Raspberry Pi records time that shows a 2 hour lags on Windows, which is the time difference between... Continue Reading →

[Network] Auto Network Discovery (Hostname)

Change Hostname > sudo nano /etc/hostname > sudo nano /etc/hosts (change row) reboot Verify Broadcasting is running > service --status-all avahi-daemon should be up and running (+) Discover IP addresses and Ports in LAN Install package nmap: > nmap --open -p22 (scan port 22, listed only ip that is alive) > nmap -v... Continue Reading →

[USB] Auto Mounting of Thumb Drive

Hard Coded Method - fstab file Files to modify: /etc/fstab Template: # device-spec   mount-point     fs-type      options     dump pass proc /proc proc defaults 0 0 /dev/mmcblk0p6 /boot vfat defaults 0 2 /dev/mmcblk0p7 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here #... Continue Reading →

[Boot] Excute Script On Boot

This is the exploration of procedures to automatically launch a script everytime raspberry boots up with power cycle. View and control local tty(x) from network > sudo apt-get install linuxvnc > sudo linuxvnc (numerical tty number) Auto-login for ttys Create symlink at /etc/systemd/system/ to /etc/systemd/system/autologin@.service Manual starting of extra ttys $ systemctl start getty@ttyN.service Script Launching on... Continue Reading →

Gstreamer 1.10 Cross Compiling

This guide is intended for Raspberry Pi 3B. 0. The Motive Gstreamer on the package list of Rasbian is 1.4.4 currently, and does not support GRAY16 for some reason. It works fine on Ubuntu based version where the packaged is updated to 1.10.0. Therefore, building from source is required to support GRAY16 on Raspberry Pi.... Continue Reading →

Research of High-End SoC / SoM

Toradex (SoM) 韬睿(Toradex) 韬睿是一家从事设计和开发嵌入计算机模块(COM)或模块系统(SOM)以及配套底板和配件的瑞士公司。[1] 首个韬睿特许经营 Toradex AG 的注册在2003年11月14号由股东大会在公证处发起。2003年11月19号, Toradex AG 正式注册,成立信息在瑞士公报上发布。公司在美国、巴西、瑞士、印度[2]、日本[3]、中国和越南设有办公室。 公司的产品用于广泛的嵌入式设备。 韬睿的业务网络包括 飞思卡尔[4][5]、ARM[6]、NVIDIA、Altium、MARVELL、Microsoft Windows Embedded[7]、Qt[8] 公司 等。公司的合作伙伴包括硬件和软件服务公司,例如 Ginsbury[9]、Antmicro Ltd.[10] 等 韬睿参加位于纽约罗彻斯特理工学院举办的 2015 ARM Developer Day 研讨会。[11] 韬睿参加在德国纽伦堡举办的 Embedded World 2015[12]. 2016 年 Toradex 发布了一款采用 NVIDIA® Tegra® K1 处理器并支持 CUDA 的 Apalis TK1 系统模块[13]。同时也发布了基于 NXP i.MX 7Solo 和 i.MX 7Dual 处理器的 Colibri iMX7S 和 Colibri... Continue Reading →

CSI-2 Debugging

  Generating Pixels The pixels in the test mode is generated as walking 1's for each line. Transmission LP sequencing The simulation and Reveal debugging shows the correct 11-01-00-11(out of picture) sequence. Before each line, there is a short transmission, featured on the left of the debugging waveform. This corresponds to the SoT (Start of... Continue Reading →

Create a free website or blog at

Up ↑