[root@charon fc5]# yum install yum-utils
[root@charon fc5]# yumdownloader --source kernel
--enablerepo core-source --enablerepo updates-source
Monday, October 02, 2006
利用yum下載原始碼
Tuesday, July 11, 2006
giftopnm
可以利用 giftopnm 將 gif圖檔 轉成 pnm圖檔
Example:
gifttopnm --image=5 input.gif > output.pnm
此例子將 input.gif 的第5張 frame 轉成 output.pnm
Example:
gifttopnm --image=5 input.gif > output.pnm
此例子將 input.gif 的第5張 frame 轉成 output.pnm
Friday, June 30, 2006
以程式A名稱搜尋 process, 若存在則執行程式B
pgrep 程式A > /dev/null || 程式B
==
An OR list has the form
command1 ││ command2
command2 is executed if and only if command1 returns a non-zero exit
status. The return status of AND and OR lists is the exit status of the
last command executed in the list.
Tuesday, June 27, 2006
Sunday, June 25, 2006
[sp-sc] sopcast command line
sop://211.152.34.35:3912/6002
/usr/bin/sp-sc -u 帳號 密碼 sop://211.152.34.35:3912/6002 3900 8900
xine http://localhost:8900
其中
3900 local port
8900 player port
Saturday, June 24, 2006
encode image sequences
tools:
cjpeg 壓縮檔案成為 jpeg 檔
mpeg2enc
jpeg2yuv
以上兩個 tools 是 Mjpeg project 中的子程式
http://mjpeg.sourceforge.net/
KmPg2 一個 mpeg2 轉檔的 gui
指令:
cjpeg 壓縮檔案成為 jpeg 檔
mpeg2enc
jpeg2yuv
以上兩個 tools 是 Mjpeg project 中的子程式
http://mjpeg.sourceforge.net/
KmPg2 一個 mpeg2 轉檔的 gui
指令:
jpeg2yuv -f 25 -j frame-%05d.jpg -I p > temp.yuv
transcode -i temp.yuv -o final.avi -x yuv4mpeg -y xvid4
**注意:jpg 檔大小必須為 352x240 或 符合 yuv 格式規定
Sunday, February 12, 2006
Wednesday, February 08, 2006
Monday, January 23, 2006
Subscribe to:
Posts (Atom)