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 →

Create a free website or blog at

Up ↑