linuxÏÂffmpeg ÊÖ»úÊÓƵת»»×ܽá
ffmpeg°æ±¾:0.5.1 flv -> mp4 ->3gp
#½Øͼ£º
./ffmpeg -i ÊÓƵÎļþ -y -ss ½Øͼʱ¼ä -vframes 1 -f image2 -s 128x96 Ä¿±êÎļþÃû;
#Éú³ÉÔ¤ÀÀ°æ£º
./ffmpeg -i out.3gp -ss 00:00:00 -t 00:00:10 -s qcif -acodec copy -vcodec copy -y preview.3gp
#ת»»16:9 flvÊÓƵµ½ 4:3µÄmp4ÊÓƵ
ffmpeg -i src.flv -vcodec libx264 -vpre normal -vpre baseline -coder 0 -threads 4 -s 320*180 -b 128k -r 15 -padbottom 30 -padtop 30 -f mp4 -y out.mp4
×¢£º
Õ⼸¸ö²ÎÊý±£Ö¤Äܹ»ÔÚÊÖ»úÉÏÃæ²¥·Å£¨±ØÐëÖ¸¶¨h264½âÂëÆ÷£©£º
-vcodec libx264 -vpre normal -vpre baseline -coder 0
¾ßÌ庬ÒåÏê¼ûhttp://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
ÕâÁ½¸ö²ÎÊýÓÃÓÚÔö¼ÓºÚ±ß
-padbottom 30 -padtop 30
#mp4ת»»Îª3gp
./ffmpeg -i test.mp4 -s qcif -ar 8000 -ac 1 -ab 12.2k -f 3gp -y test.3gp
ÖÁÓÚffmpegµÄ°²×°
¿ÉÒԲο¼http://www.code-life.com/read.php?61
аæµÄamr¿âÔÚÕâÀïhttp://opencore-amr.sourceforge.net/
±àÒëÑ¡ÏîÌ滻Ϊ
--enable-libopencore-amrnb
--enable-libopencore-amrwb
×î½üµÄffmpeg°æ±¾²»ÖªµÀΪʲômakeµÄʱºò »á±¨´í
ûÓÐ×Ðϸ¿´£¬Ö»ÊÇ°ÑÏÂÃæÕâ¶Î×¢Ê͵ô£¬¾¹È»Ò²¿ÉÒÔÓÃ....
#ifndef V
#Q = @
#ECHO = printf "$(1)\t%s\n" $(2)
#BRIEF = CC AS YASM AR LD HOSTCC STRIP CP
#SILENT = DEPCC YASMDEP RM RANLIB
#MSG = $@
#M = @$(call ECHO,$(TAG),$@);
#$(foreach VAR,$(BRIEF), \
# $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
#$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
#$(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
#endif
Ïà¹ØÎĵµ£º
linuxÖÐÎÄÂÒÂëÎÊÌâ
×î½ü£¬¹«Ë¾ÔÚXPϵͳÓÚLINUXÖ®¼ä´«Êý¾Ýʱ³öÏÖÁËÖÐÎÄÂÒÂëÎÊÌâ!
Ê×ÏÈ£¬½âÊÍÒ»ÏÂ×Ö·û¼¯£º
ºº×Ö±àÂë:
* GB2312×Ö¼¯ÊǼòÌå×Ö¼¯£¬È«³ÆΪGB2312(80)×Ö¼¯£¬¹²°üÀ¨¹ú±ê¼òÌ庺×Ö6763¸ö¡£ * BIG5×Ö¼¯ÊÇ̨Íå·±Ìå×Ö¼¯£¬¹²°üÀ¨¹ú±ê·±Ì庺×Ö13053¸ö¡£ * GBK×Ö¼¯ÊǼò·±×Ö¼¯£¬°üÀ¨ÁËGB×Ö¼¯¡¢BIG5×Ö¼¯ºÍһЩ·ûºÅ£¬¹² ......
°²×°samba
ÎÄÕÂÖÐÌáµ½µÄsmaba°²×°³ÌÐò samba-3.0.20b-1.i386.rpm (ISO)
1 Ê×ÏÈ£¬ÔÚVMwareÄÚ°Ñsamba°²×°ÎļþµÄ¾µÏñÎļþÓ³ÉäΪ¹âÇý£¬Èçͼ1-1²½Öè1-2-3¡£
ͼ1-1
2 È»ºó£¬Ê¹ÓÃÃüÁîmount /dev/cdrom /mnt/cdrom ×÷ÓÃÊǰѹâÇýÔØÈëµ½Îļþ¼Ð/mnt/cdromÖУ¬Èçͼ1-2 ......
LinuxÉ豸ģÐÍÖ®ttyÇý¶¯¼Ü¹¹·ÖÎö
À´Ô´: ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º 2008.07.25 16:24¡¡(¹²ÓÐ0ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
------------------------------------------
±¾ÎÄϵ±¾Õ¾Ô´´,»¶ÓתÔØ!
תÔØÇë×¢Ã÷³ö´¦:http://ericxiao.cublog.cn/
------------------------------------------
Ò»£ºÇ°ÑÔ
TtyÕâ¸öÃû³Æ ......
¸ù¾Ý¹¤×÷»·¾³µÄÐèÇó£¬ÐèÒªÕÆÎÕLinux/Unix»·¾³Ï½øÐÐÈí¼þ°²×°Î¬»¤ÒÔ¼°Ïà¹ØÅäÖõȼ¼ÄÜ¡£ÕâÀォÎÒµÄʹÓÃÐĵüǼÏÂÀ´¸ú´ó¼Ò·ÖÏíһϡ£ÉÏһƪÖ÷Òª½²½âÁËÊý¾Ý¿âµÄ°²×°(postgresql)¡£ÏÖÔÚ¾ÍWebÓ¦Ó÷þÎñÆ÷[Apache]µÄ°²×°½øÐн²½â(×¢£ºÒÔÉÏ°²×°¾ùÒÔÔ´´úÂ뷽ʽ½øÐа²×°)¡£ÒÔÏÂʹÓõÄLinuxϵͳÊÇ°²×°Ô ......
fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾³£±»Óõ½
Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
&n ......