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 PNM, PNG, TIFF in Gstreamer

Advertisements

[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 [Debian Bug] FAT32 Timestamp Offset Issue

[Network] Auto Network Discovery (Hostname)

Change Hostname > sudo nano /etc/hostname > sudo nano /etc/hosts (change 127.0.1.1 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 192.168.100.0/24 (scan port 22, listed only ip that is alive) > nmap -v … Continue reading [Network] Auto Network Discovery (Hostname)

[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/getty.target.wants/getty@tty(x).service to /etc/systemd/system/autologin@.service Manual starting of extra ttys $ systemctl start getty@ttyN.service Script Launching on … Continue reading [Boot] Excute Script On Boot