2010年10月26日 星期二
RGB565 To PNG/JPEG
\>ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 1024x768 -i image.raw -f image2 -vcodec png image.png
# check support witch pix_fmt
\>ffmpeg -pix_fmt list
2010年5月26日 星期三
Viritualbox how to resize VDI image
It's easy to resize VDI by using gparted
1.Create a new vdi #sda being primary IDE and keep old vid #sdb being secondary IDE
2.Boot from ISO image and open xterm
3.\> dd if=/dev/sdb of=/dev/sda
4.Resize through gpared tool and reboot.
1.Create a new vdi #sda being primary IDE and keep old vid #sdb being secondary IDE
2.Boot from ISO image and open xterm
3.\> dd if=/dev/sdb of=/dev/sda
4.Resize through gpared tool and reboot.
2010年5月4日 星期二
X11 Service
Ubuntu:
XServer:192.168.100.1 (KB, Mice)
\> export DISPLAY=192.168.100.3:0.0
XClient:192.168.100.3
#mark -nolisten tcp at /etc/X11/xinit/xserverrc
#DisallowTCP=false at /etc/gdm/gdm.schemas
\>xhost +192.168.100.1
XServer:192.168.100.1 (KB, Mice)
\> export DISPLAY=192.168.100.3:0.0
XClient:192.168.100.3
#mark -nolisten tcp at /etc/X11/xinit/xserverrc
#DisallowTCP=false at /etc/gdm/gdm.schemas
\>xhost +192.168.100.1
訂閱:
文章 (Atom)